API Guide

Table 84. API parameters
Filter name Description
"interval": 60,
"time_range": {
"end_time_unix":
1580189177,
"start_time_unix":
1580185577
}
}
Responses 200 — Response for getting state values
{
"entity_id": "35:51778771773587498",
"state_name": "oper_state",
"state_type": "INTERFACE",
"interval": 60,
"data": [
{
"metadata": {
"data": [
{
"key": "interface-oid",
"value": "35:51778771773587498"
}
]
},
"data": [
{
"timestamp": 1580163130916,
"value": "UP"
},
{
"timestamp": 1580164709769,
"value": "DOWN"
},
{
"timestamp": 1580164889728,
"value": "UP"
}
]
}
]
}
400 — Invalid request
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
178
Telemetry