{"type":"api","title":"Get Device Only Status","meta":{"id":"/apps/pubhub/media/sd-wan-api-20-16/58fb893fa751949ea20a40274e9ab219a20e19fa/e77267b5-7b4b-3f93-807c-c6d1c6b41343","info":{"title":"Cisco Catalyst SD-WAN Manager API","description":"The vManage API exposes the functionality of operations maintaining devices and the overlay network","contact":{"email":"vmanage@cisco.com"},"license":{"name":"Commercial License","url":"https://www.cisco.com/c/en/us/solutions/enterprise-networks/sd-wan/index.html"},"version":"2.0.0"},"openapi":"3.0.1","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"}},"__originalOperationId":"getDeviceOnlyStatus","method":"get","path":"/device/devicestatus"}}