API Guide
]
}
GET /switch/{switch-id}/interface
Retrieves a specific interface summary for a switch using the switch ID.
API
GET /switch/{switch-id}/interface
Description This API retrieves a telemetry summary.
Parameters
Table 66. API parameters
Filter name Description
switch-id *
required
string
(path)
Unique identifier of the switch.
start
integer
(query)
Start an index of the interface records.
count
integer
(query)
Number of the interface records to retrieve.
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"
}
]
}
140
Switch










