{"type":"api","title":"Retrieves the device health statistics","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/f117fa98-ad23-3ca8-adf8-21349b86b3ff","info":{"title":"Crosswork Performance APIs","description":"Performance APIs allow the user to perform CRUD operations on performance service","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"x-parser-conf":{"overview":{"markdownPath":"reference/EMF/performance-api-overview.md"}},"openapi":"3.0.1","servers":[{"url":"http://localhost:8080/crosswork/performance","description":"Generated server url"}]},"spec":{"tags":["devices-performance-controller"],"summary":"Retrieves the device health statistics.","description":"Retrieves statistics such as CPU utilization, availability, memory utilization and temperature for a specific device, over a given period.","operationId":"getAllDeviceMetrics","parameters":[{"name":"device","in":"query","description":"The device's UUID","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","description":"The requested start time in the format YYYY-MM-DDTHH:mm:ss.XXXZ","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","description":"The requested end time in the format YYYY-MM-DDTHH:mm:ss.XXXZ","required":false,"schema":{"type":"string"}},{"name":"timeInterval","in":"query","description":"The time interval in hours. This parameter is only required if from/to are not provided","required":false,"schema":{"type":"integer","format":"int32"}},{"name":"events","in":"query","description":"True if events should be fetched for the given parameters","required":false,"schema":{"type":"boolean","default":false}},{"name":"thresholds","in":"query","description":"True if alarm thresholds definitions should be fetched for the given parameters","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}},"__originalOperationId":"getAllDeviceMetrics","method":"get","path":"/v1/dashboards/devices/all"}}