{"type":"api","title":"Get Alerts TopN Analytics","meta":{"id":"/apps/pubhub/media/cisco-catalyst-center-global-manager-api-1-3-1/a8d4160128c04ac5921fc688f2e2268233cd1a4b/c8af11c8-96dc-3ecc-91ea-58320f9be95a","info":{"title":"Catalyst Center Global Manager API","description":"Catalyst Center Global Manager API","version":"1.3.1"},"tags":[],"x-parser-conf":{"expand":0,"labelConfig":{"endpoint":"summary"}},"openapi":"3.0.1","servers":[{"url":"/"}]},"spec":{"operationId":"alertsTopNAnalytics","tags":["Issues"],"deprecated":false,"summary":"Get Alerts TopN Analytics","description":"Alerts topN analytics across Catalyst Center Global Manager members","parameters":[{"name":"X-CALLER-ID","description":"Caller ID is used to trace the origin of API calls and their associated queries executed on the database. It's an optional header parameter that can be added to an API request.","required":false,"schema":{"type":"string","default":"application/json"},"in":"header"},{"name":"cache","description":"Flag to use cached response if available. Pass as false to bypass caching(retrieve data from controllers) . The response will be cached for maximum 5 minutes.","required":false,"schema":{"type":"boolean","default":"application/json"},"in":"header"},{"name":"async","description":"Indicates it is an async request. Which means the response can be tracked using the requestId.","required":false,"schema":{"type":"boolean","default":"application/json"},"in":"header"},{"name":"trackingId","description":"To get the latest response for an async request.","required":false,"schema":{"type":"string","default":"application/json"},"in":"query"}],"requestBody":{"description":"request","content":{"application/json":{"schema":{"type":"object","properties":{"startTime":{"type":"integer","description":""},"endTime":{"type":"integer","description":""},"topN":{"type":"integer","description":""},"groupBy":{"type":"array","items":{"type":"string"},"description":""},"filters":{"type":"array","items":{"type":"object"},"description":""},"attributes":{"type":"array","items":{"type":"object"},"description":""},"aggregateAttributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":""},"function":{"type":"string","description":""}}},"description":""},"page":{"type":"object","properties":{"limit":{"type":"integer","description":""},"offset":{"type":"integer","description":""},"sortBy":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":""},"function":{"type":"string","description":""},"order":{"type":"string","description":""}}},"description":""}},"description":""}},"description":"","$$ref":"#/components/schemas/AlertsTopNAnalyticsRequest"}}},"required":true},"responses":{"200":{"description":"Successful operation","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"type":"string","description":""},"response":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":""},"attributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":""},"value":{"type":"string","description":""}}},"description":""},"aggregateAttributes":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":""},"function":{"type":"string","description":""},"value":{"type":"object","description":""}}},"description":""}}},"description":""},"page":{"type":"object","properties":{"limit":{"type":"integer","description":""},"offset":{"type":"integer","description":""},"count":{"type":"integer","description":""},"sortBy":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":""},"function":{"type":"string","description":""},"order":{"type":"string","enum":["asc","desc"],"description":""}}},"description":""}},"description":""}},"description":"","$$ref":"#/components/schemas/AlertsTopNAnalyticsResponse"}}}},"202":{"description":" It is a async request and the request was successfully accepted, however no content was returned. The request should be tracked using requestId returned. The request can be further tracked using requestId returned as part of response header.","content":{}},"400":{"description":" The client made a request that the server could not understand (for example, the request syntax is incorrect).","content":{}},"404":{"description":" The client made a request for a resource that does not exist.","content":{}},"500":{"description":"The server could not fulfill the request.","content":{}}},"x-rapi-id":"419f-6860-494a-8309","x-rapi-overview":"Alerts topN analytics across Catalyst Center Global Manager members","x-rapi-domain":"Know Your Network","x-rapi-subdomain":"Issues","x-rapi-version":"1.0.0","x-rapi-internalPath":"/data/api/v1/alerts/topNAnalytics","x-rapi-publicPath":"/data/api/v1/alerts/topNAnalytics","x-rapi-registerInKONG":true,"x-rapi-banner":[],"x-rapi-deprecationMessage":"","__originalOperationId":"alertsTopNAnalytics","method":"post","path":"/data/api/v1/alerts/topNAnalytics"}}