LIST Devices
GET/workspaces/:workspaceId/devices
LIST Devices
Request
Path Parameters
workspaceId uuidrequired
Query Parameters
deviceCategory string
deviceIdPrefix string
deviceIdContains string
continuationToken string
top int32
Possible values: >= 1
and <= 1000
Default value: 100
includeActivity boolean
Responses
- 200
- 404
- 423
Devices.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
Array [
]
devices
object[]
deviceId string
timeZone
object
ianaTimeZone stringnullable
windowsTimeZone stringnullable
deviceCategory string
activity
object
isActive boolean
latest
object
activityId stringnullable
dateTime date-time
connection
object
status stringnullable
lastChange date-timenullable
totalCount int32
nextPageContinuationToken stringnullable
{
"devices": [
{
"deviceId": "string",
"timeZone": {
"ianaTimeZone": "string",
"windowsTimeZone": "string"
},
"deviceCategory": "string",
"activity": {
"isActive": true,
"latest": {
"activityId": "string",
"dateTime": "2024-11-11T15:00:26.600Z"
}
},
"connection": {
"status": "string",
"lastChange": "2024-11-11T15:00:26.600Z"
}
}
],
"totalCount": 0,
"nextPageContinuationToken": "string"
}
{
"devices": [
{
"deviceId": "device-1",
"deviceCategory": "DirectlyConnectedDevice",
"activity": {
"isActive": false,
"latest": {
"activityId": "Cloud.DeviceRegistration",
"dateTime": "2022-04-12T21:09:02.0234059+00:00"
}
},
"connection": {
"status": "Disconnected",
"lastChange": "2023-01-09T15:02:53.5066534+00:00"
}
},
{
"deviceId": "device-2",
"deviceCategory": "DirectlyConnectedDevice",
"activity": {
"isActive": true,
"latest": {
"activityId": "Cloud.DeviceRegistration",
"dateTime": "2023-01-09T15:02:53.5066534+00:00"
}
},
"connection": {
"status": "Connected",
"lastChange": "2023-01-09T15:02:53.5066534+00:00"
}
}
],
"totalCount": 850,
"nextPageContinuationToken": "eyJMYXN0RGV2aWNlSWQiOiIwMGQ5NDZlOC1jNjk0LTQ1NzQtYWZjOS0yYTVjNjJmMDI4NjEifQ=="
}
Workspace not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace is disabled.
- application/problem+json
- Schema
- Example (from schema)
Schema
type stringnullable
title stringnullable
status int32nullable
detail stringnullable
instance stringnullable
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Loading...