GET Targeted Count
POSThttps://api.eu1.spotflow.io/workspaces/:workspaceId/device-fleet-configurations/validate/device-count
GET Targeted Count
Request
Path Parameters
workspaceId uuidrequired
- application/json
Body
targetConditionstringrequired
Responses
- 200
- 400
- 404
- 423
The number of devices targeted by the condition.
- application/json
- Schema
- Example (auto)
- example-1
Schema
targetedDevicesint64
{
"targetedDevices": 0
}
{
"targetedDevices": 1089
}
Invalid target condition.
- application/problem+json
- Schema
- Example (auto)
Schema
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace not found.
- application/problem+json
- Schema
- Example (auto)
Schema
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
Workspace disabled.
- application/problem+json
- Schema
- Example (auto)
Schema
typestringnullable
titlestringnullable
statusint32nullable
detailstringnullable
instancestringnullable
property name*any
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string"
}
- curl
- python
- nodejs
- csharp
- powershell
- CURL
curl -L 'https://api.eu1.spotflow.io/workspaces/:workspaceId/device-fleet-configurations/validate/device-count' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-d '{
"targetCondition": "string"
}'