API Guide
GET /interface/{interface id}
Retrieves a summary of a specified interface using the interface ID.
API
GET /interface/{interface id}
Description This API retrieves a telemetry summary.
Parameters
Table 67. API parameters
Filter name Description
interface-id *
required
string
(path)
Unique identifier of the interface.
Responses 200 — Telemetry summary for a switch
{
"switch_id": "2:51778771773521959",
"total_count": "7",
"data": [
{
"data": [
{
"key": "in_octets",
"value": "36193709"
},
{
"key": "in_unicast_pkts",
"value": "290709"
},
{
"key": "in_broadcast_pkts",
"value": "50960"
},
.
.
.
{
"key": "oper_state",
"value": "UP"
},
{
"key": "admin_state",
"value": "UP"
}
]
}
]
}
400 — Invalid request
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
142
Switch










