/api/space/device-management/devices/{id}/connection-status
The following operations are supported on this resource:
GET /api/space/device-management/devices/{id}/connection-status (v1)
This API is used to retrieve the connection status for a device.
Data Notification Support
Whenever the connection status of device gets modified (for example, the device goes up and down) the data notification corresponding to this API gets generated.
.Access Control
The following capabilities are required to access this API:
"ReadDevices"
Example Usage
GET /api/space/device-management/devices/{id}/connection-statusParameters
Name | Type | URI Type | Description | Required |
id | Integer | Path | The ID of the device from which to retrieve the connection status. | Y |
Content Types
-
Produces content types:
application/vnd.net.juniper.space.device-management.connection-status+xml;version=1
application/vnd.net.juniper.space.device-management.connection-status+json;version=1 -
Sample Output XML:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<connection-status uri="/api/space/device-management/devices/229377/connection-status">
<status>up</status>
</connection-status> -
Sample Output JSON:
{
"connection-status":
{
"@uri":"/api/space/device-management/devices/229377/connection-status",
"status":"up"
}
}