List Workspace Devices
GET/api/v1/workspaces/:workspace/devices
List all Devices
in a Workspace
by its ID
.
Request
Path Parameters
Possible values: > 0
ID
of the Workspace
Query Parameters
Possible values: > 0
and <= 100
100
Possible values: [id
, name
, type
, onboarded
, macAddresses
, netbird
]
Possible values: [asc
, desc
]
asc
Responses
- 200
- 400
- 401
Success
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: > 0
100
data
object[]
required
ID
of the Device
Possible values: > 0
1000
Name
of the Device
Device 1
Type
of the Device
Possible values: [EdatecEDIPC2630
, WagoPFC300
, WagoPFC200
, WagoPFC100
, WagoCC100
, PLCNextAXCF2152
, WagoEdgeIPC
, SiemensIPC127
, WeidmullerUC20SL2000EC
, WeidmullerUV20BIPC10xx
, RUT300
, HD67644A1
, Flex
, Virtual
, VirtualMachineDebian12
, VirtualAwsEC2Ubuntu
, WestermoL210
, Generic
]
WagoEdgeIPC
Is the Device
onboarded
true
MAC addresses for this Device
Possible values: Value must match regular expression ^([0-9a-f]{2}:){5}([0-9a-f]{2})$
["11:22:33:44:55:66","77:88:99:AA:BB:CC"]
netbird
object
Netbird information for this Device
IP address
Domain name of the Device
device-name.netbird.cloud
next
object
eyJjdXJzb3IiOjEsInRva2VuIjoiIn0K
/workspaces/1000/devices/api/v1?size=10&sortBy=name&sortOrder=asc&nextToken=eyJjdXJzb3IiOjEsInRva2VuIjoiIn0K
{
"size": 100,
"data": [
{
"id": 1000,
"name": "Device 1",
"type": "WagoEdgeIPC",
"onboarded": true,
"macAddresses": [
"11:22:33:44:55:66",
"77:88:99:AA:BB:CC"
],
"netbird": {
"ip": "string",
"domain": "device-name.netbird.cloud"
}
}
],
"next": {
"token": "eyJjdXJzb3IiOjEsInRva2VuIjoiIn0K",
"href": "/workspaces/1000/devices/api/v1?size=10&sortBy=name&sortOrder=asc&nextToken=eyJjdXJzb3IiOjEsInRva2VuIjoiIn0K"
}
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Possible values: [Validation Error
]
errors
object[]
required
Possible values: [body
, query
, path
, headers
]
{
"status": "Validation Error",
"errors": [
{
"error": "string",
"location": "body"
}
]
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
Possible values: [Unauthorized
]
{
"status": "Unauthorized"
}