vps.graphs

This method provides an array of Base64 encoded statistical graph images.
If a daterange is not provided, the last 30 days are shown.

Examples

All graph types

Try it Out
{
	"cuid": "V1"
}
{
	"code": 8000,
	"message": "VPS \"V1\" was not found."
}

Disk usage for one year

Try it Out
{
	"cuid": "V1",
	"type": "vps_disk",
	"date_range": [
		"2011-06-06",
		"2012-06-06"
	]
}
{
	"code": 314,
	"message": "Input validation error: \"vps_disk\" is not a valid ENUM. Acceptable values: all, cpu, memory, disk, diskio, bandwidth"
}

Parameters

Name Type Default
cuid cuid[Vps] Required
type enum "all"
Values: all, cpu, memory, disk, diskio, bandwidth
date_range daterange null

Errors

Code Name
8000 VpsNotFound