{"type":"api","title":"Get Aggregation Data By Query 13","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 - QoS"],"description":"Monitoring - QoS","operationId":"getAggregationDataByQuery_13","parameters":[{"name":"query","in":"query","schema":{"type":"string"},"example":{"query":{"condition":"AND","rules":[{"value":["168"],"field":"entry_time","type":"date","operator":"last_n_hours"},{"value":["172.16.255.11"],"field":"vdevice_name","type":"string","operator":"in"},{"value":["ge0/0"],"field":"interface","type":"string","operator":"in"}]},"aggregation":{"field":[{"property":"queue_name","sequence":1,"size":20}],"histogram":{"property":"entry_time","type":"hour","interval":6,"order":"asc"},"metrics":[{"property":"tx_bytes_in_kbps","type":"avg","order":"desc"},{"property":"drop_in_kbps","type":"avg"}]},"sort":[{"field":"entry_time","type":"date","order":"asc"}]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"count":{"type":"integer","format":"int32","example":5},"entry_time":{"type":"string","example":"1674813600000"},"jitter":{"type":"integer","format":"int32","example":0},"latency":{"type":"integer","format":"int32","example":0},"local_color":{"type":"string","example":"3g"},"loss_percentage":{"type":"integer","format":"int32","example":0}},"$$ref":"#/components/schemas/QoSAggResp"}},"example":[{"entry_time":1678924800000,"count":72,"queue_name":"Queue4","drop_in_kbps":0,"tx_bytes_in_kbps":0},{"entry_time":1678924800000,"count":72,"queue_name":"Queue5","drop_in_kbps":0,"tx_bytes_in_kbps":0},{"entry_time":1678924800000,"count":72,"queue_name":"Queue6","drop_in_kbps":0,"tx_bytes_in_kbps":0}]}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"__originalOperationId":"getAggregationDataByQuery_13","method":"get","path":"/statistics/qos/aggregation"}}