Skip to main content
Get all devices
curl --request GET \
  --url http://localhost/api/devices
[
  {
    "controls": [
      {
        "flags": {
          "default_value": 123,
          "max_value": 0,
          "min_value": 0,
          "step": 0,
          "menu": [
            {
              "index": 123,
              "name": "<string>"
            }
          ]
        },
        "control_id": 123,
        "name": "<string>",
        "value": 123
      }
    ],
    "stream": {
      "device_path": "<string>",
      "endpoints": [
        {
          "host": "<string>",
          "port": 123
        }
      ],
      "width": 123,
      "height": 123,
      "interval": {
        "numerator": 123,
        "denominator": 123
      },
      "enabled": true
    },
    "vid": 123,
    "pid": 123,
    "bus_info": "<string>",
    "nickname": "<string>",
    "cameras": [
      {
        "path": "<string>",
        "formats": {}
      }
    ],
    "name": "<string>",
    "manufacturer": "<string>",
    "device_info": {
      "device_name": "<string>",
      "bus_info": "<string>",
      "device_paths": [
        "<string>"
      ],
      "vid": 123,
      "pid": 123
    },
    "followers": [],
    "is_managed": false,
    "frame_stats": {
      "num_drops": 0
    }
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.dwe.ai/llms.txt

Use this file to discover all available pages before exploring further.

Response

200 - application/json

Successful Response

controls
ControlModel · object[]
required
stream
StreamModel · object
required
vid
integer
required
pid
integer
required
bus_info
string
required
nickname
string
required
device_type
enum<integer>
required

Device type Enum

Available options:
0,
1,
2,
3,
4
cameras
CameraModel · object[] | null
name
string | null
manufacturer
string | null
device_info
DeviceInfoModel · object
followers
string[]
is_managed
boolean
default:false
frame_stats
FrameDropStats · object