Retrieve Devices

Allows to retrieve a list of all devices.

Retrieve Devices

get
Authorizations
Path parameters
PROJECT_IDstringRequired
Responses
200
OK
application/json
Responseobject
get
GET /v2/projects/{PROJECT_ID}/devices HTTP/1.1
Host: api.qubitro.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "success": true,
  "action": "get devices",
  "status": 200,
  "message": "Devices retrieved successfully.",
  "data": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "brand": "string",
      "model": "string",
      "avatar": "https://static.qubitro.com/portal/device/avatar/default.png",
      "last_seen": "0001-01-01T00:00:00Z",
      "tags": [
        "string"
      ],
      "metadata": {
        "key": "value"
      }
    }
  ]
}

Last updated