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