REST API Overview
The REST API provides numerous system functions, including:
-
Displaying information about devices in the SD-AVC network
-
Controlling external sources
-
Displaying information about generic traffic
-
Creating user-defined applications
Note |
Using the REST API requires authentication. See Authentication from SD-AVC Network Service. |
POST https://SD-AVC-network-service-address:8443/avc-sd-service/ external-api/login |
Acquires an authentication token, enabling use of the REST API. |
GET /avc-sd-service/external-api/system-info |
Displays the SD-AVC version and system times. |
GET /avc-sd-service/external-api/devices |
Displays devices in the SD-AVC network. |
POST /avc-sd-service/external-api/remove-devices |
Removes a device from the SD-AVC network. |
GET /avc-sd-service/external-api/visibility?period=period - GET /avc-sd-service/external-api/visibility/segmentName ?period=period - GET /avc-sd-service/external-api/visibility/segmentName/ deviceName?period=period |
Display traffic analytics (applications and bandwidth) for the complete SD-AVC network, a specific segement, or a specific device. |
POST /avc-sd-service/external-api/cloud/authorize
|
Connect to Cloud Connector. |
||
POST /avc-sd-service/external-api/cloud/configure |
Enter Cloud Connector credentials. |
||
POST /avc-sd-service/external-api/cloud/configureSegment?segment=segmentName |
Specify the location for storing Cloud Connector telemetry data for a specific segment. |
||
POST /avc-sd-service/external-api/cloud/disable |
Disable Cloud Connector. |
||
GET /avc-sd-service/external-api/cloud/status |
Get Cloud Connector status. |
||
POST /avc-sd-service/external-api/cloud/removeCredentials |
Clears the credentials that have been entered for Cloud Connector. |
||
GET /avc-sd-service/external-api/cloud/getCurrentCloudConfig |
Get current configuration for Cloud Connector. |
||
GET /avc-sd-service/external-api/app-rules?detailed=true&sourceId=PP_Extension |
Get currently collected cloud data (rules, server names, sockets, and so on). |
POST /avc-sd-service/external-api/external-sources/externalSourceName |
Enables or disables receiving data from an external source. |
GET /avc-sd-service/external-api/external-sources |
Displays status of external sources. |
POST /avc-sd-service/external-api/app-rules - POST /avc-sd-service/external-api/app-rules?segment=segmentName |
Create one or more user-defined applications. |
PUT /avc-sd-service/external-api/app-rules - PUT /avc-sd-service/external-api/app-rules?segment=segmentName |
Add a user-defined application to an existing set. |
GET /avc-sd-service /external-api/app-rules - GET /avc-sd-service /external-api/app-rules?sourceId=sourceId - GET /avc-sd-service /external-api/app-rules?segment=segmentName - GET /avc-sd-service /external-api/app-rules?segment=segmentName&app=applicationName |
Displays user-defined applications defined by REST API. |
GET /avc-sd-service/external-api/app-rules/status - GET /avc-sd-service /external-api/app-rules/status[?sourceId=sourceId] |
Displays activation status of user-defined applications, per device. |
DELETE /avc-sd-service /external-api/app-rules - DELETE /avc-sd-service /external-api/app-rules?sourceId=sourceId - DELETE /avc-sd-service /external-api/app-rules?segment=segmentName - DELETE /avc-sd-service /external-api/app-rules?segment=segmentName&app=applicationName |
Deletes user-defined applications. |
GET /avc-sd-service/external-api/apps/generics |
Displays the list of traffic types that contribute to "generic" traffic. |