getSiteDiscoveredSwitches

GET https://{{host}}/api/v1/sites/:site_id/stats/discovered_switches/search

#### Response Parameter Parameter|Type|Description :-------------: |:-------------: |:-------------: scope|string|metric scope, site/switch, default is site, optional type|string|metric type, inactivewiredvlans/switchapaffinity/poecompliance/versioncompliance, optional

RESPONSES

status: OK

{"results":[{"system_name":"mist-lab-ex2300c","hostname":"mist-lab-ex2300c","mgmt_addr":"10.1.1.1","vendor":"Juniper Networks","org_id":"6748cfa6-4e12-11e6-9188-0242ac110007","aps":[{"inactive_wired_vlans":[],"hostname":"ap41nearlab","when":"2019-06-13T19:53:16.870+0000","mac":"5c5b352e2001","poe_status":true}],"site_id":"67970e46-4e12-11e6-9188-0242ac110007","system_desc":"Juniper Networks, Inc. ex2300-c-12p Ethernet Switch, kernel JUNOS 18.2R2.6, Build date: 2018-12-07 13:19:04 UTC Copyright (c) 1996-2018 Juniper Networks, Inc.","version":"18.2R2.6","timestamp":1560457177.037,"model":"EX2300-C-12P","ap_redundancy":{"num_aps":15,"num_aps_with_switch_redundancy":8,"modules":{"1":{"num_aps":15,"num_aps_with_switch_redundancy":8}}}}]}