REST Resources
/api/space/software-management/packages/{image-id}/associated-devices (v2)
The following operation is supported on this resource:
- GET - Get Devices associated with the Image ID
GET /packages/{image-id}/associated-devices | Version 2 |
Sample Usage
GET /packages/{image-id}/associated-devices
-
Parameters:
Name Type URI Type Description Required image-id Integer Path Y
-
Accept Headers:
application/vnd.net.juniper.space.software-management.associated-devices+xml;version=2
application/vnd.net.juniper.space.software-management.associated-devices+json;version=2
<associated-devices total="1"
uri="/api/space/software-management/packages
/262169/associated-devices">
<device
href="/api/space/device-management/devices/524351" >
<checksum-status>VALID</checksum-status>
<checksum-time>Nov 22 2013 5:39:8 PM CST</checksum-time>
<ip-addr>10.208.135.200</ip-addr>
<device-name>test124</device-name>
<device-id>524351</device-id>
</device>
</associated-devices>
{
"associated-devices" : {
"@total" : "Integer" ,
"@uri" :
"/api/space/software-management/packages/262169/associated-devices" ,
"device" : {
"@href" :
"/api/space/device-management/devices/524351" ,
"checksum-status" :
"VALID" ,
"checksum-time" : "Nov 22 2013
5:39:8 PM CST" ,
"ip-addr" :
"10.208.135.200" ,
"device-name" : "test124"
,
"device-id" : "524351"
}
}
}
Access Control
The following capabilities are required to access this API: ViewImageAssocitedDeviceCap
For the current version of this API, refer to :