{ "opencollection": "1.0.0", "info": { "name": "Mist Admins Sites Stats - Discovered Switches API", "version": "2604.1.1" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Sites Stats - Discovered Switches", "type": "folder" }, "items": [ { "info": { "name": "searchSiteDiscoveredSwitchesMetrics", "type": "http" }, "http": { "method": "GET", "url": "https://api.mist.com/api/v1/sites/:site_id/stats/discovered_switch_metrics/search", "params": [ { "name": "site_id", "value": "", "type": "path" }, { "name": "scope", "value": "", "type": "query", "description": "Metric scope" }, { "name": "type", "value": "", "type": "query", "description": "Metric type" }, { "name": "limit", "value": "", "type": "query" }, { "name": "start", "value": "", "type": "query", "description": "Start time (epoch timestamp in seconds, or relative string like \"-1d\", \"-1w\")" }, { "name": "end", "value": "", "type": "query", "description": "End time (epoch timestamp in seconds, or relative string like \"-1d\", \"-2h\", \"now\")" }, { "name": "duration", "value": "", "type": "query", "description": "Duration like 7d, 2w" }, { "name": "sort", "value": "", "type": "query", "description": "On which field the list should be sorted, -prefix represents DESC order" }, { "name": "search_after", "value": "", "type": "query", "description": "Pagination cursor for retrieving subsequent pages of results. This value is automatically populated by Mist in the `next` URL from the previous response and should not be manually constructed." } ] }, "docs": "Search Discovered Switch Metrics" }, { "info": { "name": "countSiteDiscoveredSwitches", "type": "http" }, "http": { "method": "GET", "url": "https://api.mist.com/api/v1/sites/:site_id/stats/discovered_switches/count", "params": [ { "name": "site_id", "value": "", "type": "path" }, { "name": "distinct", "value": "", "type": "query" }, { "name": "start", "value": "", "type": "query", "description": "Start time (epoch timestamp in seconds, or relative string like \"-1d\", \"-1w\")" }, { "name": "end", "value": "", "type": "query", "description": "End time (epoch timestamp in seconds, or relative string like \"-1d\", \"-2h\", \"now\")" }, { "name": "duration", "value": "", "type": "query", "description": "Duration like 7d, 2w" }, { "name": "limit", "value": "", "type": "query" } ] }, "docs": "Count Discovered Switches" }, { "info": { "name": "listSiteDiscoveredSwitchesMetrics", "type": "http" }, "http": { "method": "GET", "url": "https://api.mist.com/api/v1/sites/:site_id/stats/discovered_switches/metrics", "params": [ { "name": "site_id", "value": "", "type": "path" }, { "name": "threshold", "value": "", "type": "query", "description": "Configurable # ap per switch threshold, default 12" }, { "name": "system_name", "value": "", "type": "query", "description": "System name for switch level metrics, optional" } ] }, "docs": "Discovered switches related metrics, lists related switch system names & details if not compliant" }, { "info": { "name": "searchSiteDiscoveredSwitches", "type": "http" }, "http": { "method": "GET", "url": "https://api.mist.com/api/v1/sites/:site_id/stats/discovered_switches/search", "params": [ { "name": "site_id", "value": "", "type": "path" }, { "name": "adopted", "value": "", "type": "query" }, { "name": "system_name", "value": "", "type": "query" }, { "name": "hostname", "value": "", "type": "query" }, { "name": "vendor", "value": "", "type": "query" }, { "name": "model", "value": "", "type": "query" }, { "name": "version", "value": "", "type": "query" }, { "name": "limit", "value": "", "type": "query" }, { "name": "start", "value": "", "type": "query", "description": "Start time (epoch timestamp in seconds, or relative string like \"-1d\", \"-1w\")" }, { "name": "end", "value": "", "type": "query", "description": "End time (epoch timestamp in seconds, or relative string like \"-1d\", \"-2h\", \"now\")" }, { "name": "duration", "value": "", "type": "query", "description": "Duration like 7d, 2w" }, { "name": "sort", "value": "", "type": "query", "description": "On which field the list should be sorted, -prefix represents DESC order" }, { "name": "search_after", "value": "", "type": "query", "description": "Pagination cursor for retrieving subsequent pages of results. This value is automatically populated by Mist in the `next` URL from the previous response and should not be manually constructed." } ] }, "docs": "Search Discovered Switches" } ] } ], "bundled": true }