Get resource UUIDs by agent version
This endpoint is used to retrieve a paginated list of resource UUIDs by the agent version.
URL
GET https://{api-url}/api/v2/tenants/{tenantId}/agents/{agentVersion}/resourceUUIDSByAgentVersion
Sample URLs
https://{api-url}/api/v2/tenants/client_4/agents/7.0.2-1/resourceUUIDSByAgentVersion
https://{api-url}/api/v2/tenants/client_4/agents/7.0.2-1/resourceUUIDSByAgentVersion?pageNo=1&pageSize=10&isDescendingOrder=true&sortName=uniqueId
Header | Value |
---|
Authorization | Bearer {accessToken} |
Content-type | application/json |
Accept | application/json |
Status code
200 OK
Parameters
All fields are mandatory unless specified otherwise.
Property | Value | Description |
---|
agentversion | String | Examples: 7.0.2-1, 7.0.2-3. Default: NULL |
Request parameters
All fields are mandatory unless specified otherwise.
Property | Description |
---|
pageNo | (Optional) Default: 1 |
pageSize | (Optional) Default: 100 |
isDescendingOrder | (Optional) Default: true |
sortName | (Optional) Default: uniqueId |
Sample response
{
"results": [
{
"uniqueId": "bfc1f106-378c-449c-aa24-5b7cdde9ec46",
"type": "DEVICE"
},
{
"uniqueId": "b8f16f96-ff22-45c6-8033-f43eff29b9b4",
"type": "DEVICE"
}
],
"totalResults": 2,
"orderBy": "uniqueId",
"pageNo": 1,
"pageSize": 10,
"totalPages": 1,
"nextPage": false,
"previousPageNo": 0,
"descendingOrder": true
}