{"type":"api","title":"Get Device Only Status","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/d2f02ba2-fd0d-3a26-bcc5-feafc8f24d17","info":{"title":"Monitoring and Troubleshooting","description":"Includes API operations for the following:\n- Real-time monitoring\n- Accessing statistics APIs and statistics bulk APIs\n- Retrieving device state\n- Managing alarms and events\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Monitoring - Device Details"],"description":"Get devices status per type","operationId":"getDeviceOnlyStatus","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object","properties":{"count":{"type":"integer","format":"int32","example":0},"detailsURL":{"type":"string","example":"/dataservice/device?personality=vbond&status=error"},"image":{"type":"string","example":"images/vsmart.png"},"name":{"type":"string","example":"vSmart"},"statusList":{"type":"array","items":{"type":"array","properties":{"empty":{"type":"boolean"}},"items":{"type":"object","properties":{"count":{"type":"integer","format":"int64"},"message":{"type":"string"},"name":{"type":"string"},"status":{"type":"string"}},"$$ref":"#/components/schemas/StatusObject"},"$$ref":"#/components/schemas/StatusList"}},"type":{"type":"string","example":"vSmart"}},"$$ref":"#/components/schemas/DeviceStatusData"},"examples":{"Device Status":{"description":"Device Status","value":"[\n {\n \"type\": \"vSmart\",\n \"name\": \"vSmart\",\n \"image\": \"images/vsmart.png\",\n \"count\": 3,\n \"detailView\": \"dialog\",\n \"detailsURL\": \"/dataservice/device?personality=vsmart\",\n \"statusList\": [\n {\n \"status\": \"error\",\n \"name\": \"Error\",\n \"detailView\": \"dialog\",\n \"detailsURL\": \"/dataservice/device?personality=vsmart&status=error\",\n \"color\": \"fa7c7d\",\n \"icon\": \"images/device/device-error.png\",\n \"count\": 0\n },\n {\n \"status\": \"warning\",\n \"name\": \"Warning\",\n \"detailView\": \"dialog\",\n \"detailsURL\": \"/dataservice/device?personality=vsmart&status=warning\",\n \"color\": \"f2ce60\",\n \"icon\": \"images/device/device-warning.png\",\n \"count\": 0\n },\n {\n \"status\": \"normal\",\n \"name\": \"Normal\",\n \"detailView\": \"dialog\",\n \"detailsURL\": \"/dataservice/device?personality=vsmart&status=normal\",\n \"color\": \"b0e276\",\n \"icon\": \"images/device/device-normal.png\",\n \"count\": 3\n },\n {\n \"status\": \"new\",\n \"name\": \"Discovered device\",\n \"detailView\": \"dialog\",\n \"detailsURL\": \"/dataservice/device?personality=vsmart&status=new\",\n \"color\": \"7c8afa\",\n \"icon\": \"images/device/device-new.png\",\n \"count\": 0\n }\n ]"}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"get","path":"/device/devicestatus"}}