LIST Targeted Devices
POST/workspaces/:workspaceId/device-fleet-configurations/validate/device-list
LIST Targeted Devices
Request
Path Parameters
workspaceId uuidrequired
- application/json
Body
targetCondition stringrequired
Responses
- 200
- 400
- 404
- 423
List of devices targeted by the condition.
- application/json
- Schema
- Example (from schema)
- example-1
Schema
Array [
]
deviceId string
alreadyTargetedBy string[]
[
{
"deviceId": "string",
"alreadyTargetedBy": [
"string"
]
}
]
[
{
"deviceId": "device-01",
"alreadyTargetedBy": [
"device-fleet-configuration-1",
"device-fleet-configuration-2"
]
},
{
"deviceId": "device-02",
"alreadyTargetedBy": []
}
]
Invalid target condition.
- 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 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 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...