Get all devices
GET/apis/v1/devices-management/devices
Use this method to return a list of all managed devices.
Common query parameters: This REST API supports query parameters for paginating, filtering, sorting, including data, and excluding data in the response. For more information about these common query parameters, see Paginating, filtering, including data, and excluding data in responses.
-
The following example returns a list of all managed devices.
GET https://192.0.2.0/api/v1/devices-management/devices -
The following example returns a list of all devices that are managed by a specific hub.
GET https://192.0.2.0/api/v1/devices-management/devices?filterEquals[][attributes]=manager.id&filterEquals[][values]=2A8A12D50D2546A587A5F3D0B80705F0 -
The following example returns a list of all managed servers.
GET https://192.0.2.0/api/v1/devices-management/devices?filterEquals[0][attributes]=type&filterEquals[0][values]=server -
The following example returns a list of all managed ThinkEdge servers.
GET https://192.0.2.0/api/v1/devices-management/devices?filterEquals[0][attributes]=type&filterEquals[0][values]=server&filterEquals[1][attributes]=productName&filterEquals[1][values]=ThinkEdge -
The following example returns warranty information for all devices in a specific collection with expired warranties.
GET https://192.0.2.0/api/v1/devices-management/devices?filterEquals[1][attributes]=warranty.status&filterEquals[1][values]=expired?filterEquals[1][attributes]=groups&filterEquals[1][values]=G_136FAA46D0754FE5B5A493F454EC5551&includeAttributes=id,name,machineType,model,serialNumber,warranty
Request
Responses
- 200
- 206
- 429
- 500
Success
Success with partial data returned
Failure - Too many requests
Failure - Internal server error