Query Object Stats (v2.1)
Query all the object statistics.
- application/json
Request Body
Details of object stats query
- end_time date required
The end time of the object stats query.
filter ObjectStatsFilter required
Filters according to the specifications.
element string[]The object stats query element.
site string[]The object stats query site.
- name string required
The name of the object stats. Maz size = 128.
- object_id string required
The object ID.
- object_type string required
Possible values: [
PeerStatistics
,IntfStatistics
,CellularModuleStatistics
,CellularAPNStatistics
,MulticastStatistics
,SecurityPolicyRule
,IntfPoEStatistics
,IntfLLDPStatistics
,IntfAAAStatistics
,IntfSTPStatistics
,STPStatistics
,PoEStatistics
,AppSummaryStats
]The object type.
- start_time date required
The start time of the object stats query.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- data object required
{
"data": {}
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
_error ErrorResponse[]
Array [code stringmessage string]
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_REQUEST_ERROR_0001"
},
{
"code": "OBJECT_STATS_QUERY_OBJECT_TYPE_REQUIRED"
},
{
"code": "OBJECT_STATS_QUERY_OBJECT_ID_REQUIRED"
},
{
"code": "OBJECT_STATS_QUERY_FILTER_REQUIRED"
},
{
"code": "OBJECT_STATS_QUERY_FILTER_SITE_ID_REQUIRED"
},
{
"code": "OBJECT_STATS_QUERY_OBJECT_TYPE_UNSUPPORTED"
},
{
"code": "OBJECT_STATS_QUERY_OBJECT_ID_INVALID_VALUE"
},
{
"code": "OBJECT_STATS_QUERY_ELEMENT_ID_INVALID_VALUE"
},
{
"code": "OBJECT_STATS_QUERY_SITE_ID_INVALID_VALUE"
},
{
"code": "OBJECT_STATS_QUERY_ELEMENT_LIST_LENGTH_EXCEEDED"
},
{
"code": "OBJECT_STATS_QUERY_SITE_LIST_LENGTH_EXCEEDED"
},
{
"code": "OBJECT_STATS_QUERY_START_TIME_BEFORE_END_TIME"
},
{
"code": "INVALID_STATS_REQUEST_BODY"
},
{
"code": "FUTURE_TIME_ERROR"
}
]
}
}
Loading...