Get Stats And DT For Resources Using POST

Get Stats And DT For Resources Using POST

The API returns 24 hours of Stats and DT data by default for the specified Resources.

Request
URI
POST
https://{api_host}/api/resources/stats/dt/query
COPY
Request Body

The object which specifies the search criteria

dt-stat-query of type(s) application/json
Required

Show optional properties

{
    "resourceIds": [
        {}
    ],
    "statKeys": [
        {}
    ]
}
{
    "begin": 0,
    "end": 0,
    "resourceIds": [
        "string"
    ],
    "showSmooth": false,
    "smoothFactor": "number",
    "statKeys": [
        "string"
    ]
}
integer As int64 As int64
begin
Optional

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

integer As int64 As int64
end
Optional

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

array of string
resourceIds
Required

Collection of Resource identifiers for which Stats and DT values need to be retrieved

boolean
showSmooth
Optional

Flag that indicates whether stats should be smoothened or not. Default value is true

number As double As double
smoothFactor
Optional

The smooth precision, default value is 2.0

array of string
statKeys
Required

Collection of StatKeys for which Stats and DT values need to be retrieved

Authentication
This operation uses the following authentication methods.
Responses
200

The object containing a map of list of stat objects keyed by each Resource identifier

Returns stats-of-resources of type(s) application/json
{
    "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"
                        },
                        "timestamps": [
                            0
                        ],
                        "values": [
                            "string"
                        ]
                    }
                ]
            }
        }
    ]
}
values
Optional

Collection of resource-stat objects


Resources Operations
POST
Add Group Type Using POST
POST
Add Stats For Resources Using POST
POST
Add Stats For Resources Using Push Adapter Kind Using POST
POST
Create Custom Group Using POST
POST
Create Custom Profile Using POST
POST
Create Resource Using Adapter Instance Using POST
POST
Create Resource Using Adapter Kind Using POST
DELETE
Delete Custom Group Using DELETE
DELETE
Delete Custom Profile Using DELETE
DELETE
Delete Group Type Using DELETE
DELETE
Delete Resources Using DELETE
GET
Get Custom Group Members Using GET
GET
Get Custom Groups Using GET
GET
Get Custom Group Using GET
GET
Get Custom Profiles Using GET
GET
Get Custom Profile Using GET
GET
Get Group Types Using GET
GET
Get Latest Stats Of Resources Using GET
POST
Get Matching Resources Using POST
GET
Get Resource Properties List Using GET
POST
Get Resources Relationships Using POST
GET
Get Resources Using GET
GET
Get Stat Keys Of Resources Using GET
POST
Get Stats And DT For Resources Using POST
POST
Get Stats For Resources Using POST
GET
Get Stats Of Resources Using GET
GET
Get Top N Stats Of Resources Using GET
PUT
Mark Resources As Being Maintained Using PUT
PUT
Modify Custom Group Using PUT
PUT
Modify Custom Profile Using PUT
POST
Query Latest Properties Of Resources Using POST
POST
Query Latest Stats Of Resources Using POST
PUT
Start Monitoring Resources Using PUT
PUT
Stop Monitoring Resources Using PUT
DELETE
Unmark Resources As Being Maintained Using DELETE
PUT
Update Resource Using PUT