{"type":"api","title":"Retrieves statistics for the given link’s endpoints","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/e1ae91f25de62367ac175351487a12de3ae46a25/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":["links-performance-controller"],"summary":"Retrieves statistics for the given link’s endpoints.","operationId":"getLinksGraph","requestBody":{"description":"Details of request to retrieve the link's performance metric.","content":{"application/json":{"schema":{"type":"object","properties":{"sourceDeviceUuid":{"type":"string","description":"Source device uuid","example":"ab32aedf-3e4b-4b3c-8e4d-3e4b3c8e4d3e"},"sourceIntfName":{"type":"string","description":"Source interface","example":"GigaEthernet0/0/0/0"},"targetDeviceUuid":{"type":"string","description":"Target device uuid","example":"ab32aedf-3e4b-4b3c-8e4d-3e4b3c8e4d3e"},"targetIntfName":{"type":"string","description":"Target interface","example":"GigaEthernet0/0/0/0"},"from":{"type":"string","description":"Start time","example":"2023-09-27T07:10:26.954Z"},"to":{"type":"string","description":"End time","example":"2023-09-27T07:10:26.954Z"},"metricsType":{"type":"array","description":"Metric types","example":["ifInBitsRate","ifOutBitsRate"],"items":{"type":"string","description":"Metric types","example":"[\"ifInBitsRate\",\"ifOutBitsRate\"]"}}},"$$ref":"#/components/schemas/LinkMetricsRequestDTO"},"examples":{"Get link's performance statistics request Example":{"description":"Get link's performance statistics request Example","value":{"sourceDeviceUuid":"f71814e0-61c6-4d91-8227-06193378b6a0","sourceIntfName":"GigabitEthernet0/2/0","targetDeviceUuid":"da65acdf-3270-4106-8744-ce94e148fcf9","targetIntfName":"GigabitEthernet0/2/0","from":"2025-04-19T05:15:52+02:00","to":"2025-04-20T05:15:52+02:00","metricsType":["ifOutUtilization","ifOutDiscardsRate","ifInDiscardsRate"]}}}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"string"}}}},"400":{"description":"Bad Request"},"500":{"description":"Internal Server Error"}},"__originalOperationId":"getLinksGraph","method":"post","path":"/v1/dashboards/links/graph"}}