{"type":"api","title":"Get Post Aggregation App Data By Query 1","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":"Get aggregated data based on input query and filters. The data can be filtered on time and other unique parameters based upon necessity and intended usage","operationId":"getPostAggregationAppDataByQuery_1","requestBody":{"description":"Stats query string","content":{"application/json":{"schema":{"type":"object"},"examples":{"Stats query string":{"description":"Stats query string","value":{"query":{"condition":"AND","rules":[{"value":["24"],"field":"entry_time","type":"date","operator":"last_n_hours"},{"value":["172.16.255.16"],"field":"vdevice_name","type":"string","operator":"in"},{"value":["ge0/0"],"field":"interface","type":"number","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"},{"property":"jitter","type":"avg"}],"sort":[{"property":"entry_time","type":"date","order":"desc"}]}}}}}}},"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":1678881600000,"count":72,"queue_name":"Queue1","drop_in_kbps":0,"jitter":0,"tx_bytes_in_kbps":0},{"entry_time":1678881600000,"count":72,"queue_name":"Queue2","drop_in_kbps":0,"jitter":0,"tx_bytes_in_kbps":0}]}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"__originalOperationId":"getPostAggregationAppDataByQuery_1","method":"post","path":"/statistics/qos/app-agg/aggregation"}}