GET Device Activity
GET/workspaces/:workspaceId/devices/:deviceId/activity
GET Device Activity
Request
Path Parameters
workspaceId uuidrequired
deviceId stringrequired
Responses
- 200
- 404
- 423
Devices.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
Array [
]
deviceId stringnullable
deviceCategory stringnullable
connection
object
status stringnullable
lastChange date-timenullable
activity
object
isActive boolean
latest
object
activityId stringnullable
dateTime date-time
all
object[]
nullable
activityId stringnullable
dateTime date-time
{
"deviceId": "string",
"deviceCategory": "string",
"connection": {
"status": "string",
"lastChange": "2024-11-11T15:00:26.605Z"
},
"activity": {
"isActive": true,
"latest": {
"activityId": "string",
"dateTime": "2024-11-11T15:00:26.605Z"
},
"all": [
{
"activityId": "string",
"dateTime": "2024-11-11T15:00:26.605Z"
}
]
}
}
{
"deviceId": "test-device-1",
"deviceCategory": "DirectlyConnectedDevice",
"activity": {
"isActive": true,
"latest": {
"activityId": "Cloud.DeviceRegistration",
"dateTime": "2020-07-04T23:12:01Z"
},
"all": [
{
"activityId": "Cloud.DeviceRegistration",
"dateTime": "2020-07-04T23:12:01Z"
},
{
"activityId": "Cloud.Ingress",
"dateTime": "2020-07-01T23:15:01Z"
},
{
"activityId": "Cloud.DeviceConnected",
"dateTime": "2020-07-04T22:11:03Z"
}
]
},
"connection": {
"status": "Connected",
"lastChange": "2020-07-04T22:11:03Z"
}
}
Device or 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...