API Guide

Responses 200 — Telemetry summary for a switch
{
"switch_id": "2:51778771773521959",
"total_count": "null",
"data": [
{
"data": [
{
"key": "prefixes_received",
"value": "4"
},
{
"key": "prefixes_sent",
"value": "2"
},
{
"key": "prefixes_installed",
"value": "4"
},
{
"key": "state",
"value": "ESTABLISHED"
},
{
"key": "neighbor-oid",
"value": "72:51778774711206129"
},
{
"key": "neighbor-ip",
"value": "192.168.0.2"
}
]
}
]
}
400 — Invalid request
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
"field_name": "string",
"messageParams": [
"string"
]
}
]
}
401 — You are not authorized to perform this operation
{
"new_object_id": "string",
"id": "string",
"message": "string",
"messageParams": [
"string"
],
"messages": [
{
"id": "string",
"message": "string",
144
Switch