Exposure Analyzer REST API Overview
The Exposure Analyzer service allows you to retrieve devices
from Service Insight, and generate PBN and EOL reports. The exposureanalyzer
resources are available at https://[host]/api/juniper/serviceinsight/exposureanalyzer.
URI
https://[host]/api/juniper/serviceinsight/exposureanalyzer (HTTP method = GET)
Produces
application/vnd.juniper.serviceinsight.exposureanalyzer+xml;version=1
application/vnd.juniper.serviceinsight.exposureanalyzer+json;version=1
Response Elements
Sample Output
Sample XML Output
<exposureanalyzer> <collection href= "/api/juniper/serviceinsight/exposureanalyzer/sidevices" /> <method href= "/api/juniper/serviceinsight/exposureanalyzer/generateeolreport" /> <method href= "/api/juniper/serviceinsight/exposureanalyzer/generatepbnreport" /> </exposureanalyzer>
Sample XML Output
{ "exposureanalyzer": { "collection": { "@href": "/api/juniper/serviceinsight/exposureanalyzer/sidevices" }, "method": [ { "@href": "/api/juniper/serviceinsight/exposureanalyzer/generateeolreport" }, { "@href": "/api/juniper/serviceinsight/exposureanalyzer/generatepbnreport" } ] } }
The exposure analyzer service provides the following APIs: