Get Stats And DT For Resources Using POST
The API returns 24 hours of Stats and DT data by default for the specified Resources.
The object which specifies the search criteria
Show optional properties
{
"resourceIds": [
{}
],
"statKeys": [
{}
]
}
{
"begin": 0,
"end": 0,
"resourceIds": [
"string"
],
"showSmooth": false,
"smoothFactor": "number",
"statKeys": [
"string"
]
}
The beginning date as a long value of the range of stats to return Value measures the number of milliseconds since January 1, 1970 00:00:00 UTC
The ending date as a long value of the range of stats to return long value is number of milliseconds since January 1, 1970 00:00:00 UTC
Collection of Resource identifiers for which Stats and DT values need to be retrieved
Flag that indicates whether stats should be smoothened or not. Default value is true
The smooth precision, default value is 2.0
Collection of StatKeys for which Stats and DT values need to be retrieved
The object containing a map of list of stat objects keyed by each Resource identifier
{
"values": [
{
"resourceId": "string",
"stats": {
"stat": [
{
"data": [
"number"
],
"dtTimestamps": [
0
],
"intervalUnit": {
"intervalType": "string",
"quantifier": 0
},
"links": [
{
"description": "string",
"href": "string",
"name": "string",
"rel": "string"
}
],
"maxThresholdData": [
"number"
],
"minThresholdData": [
"number"
],
"rollUpType": "string",
"smoothValues": [
"number"
],
"statKey": {
"key": "string"
},
"statValues": [
"string"
],
"timestamps": [
0
],
"values": [
"string"
]
}
]
}
}
]
}