Skip to main content
Get the wired devices
curl --request GET \
  --url http://localhost/api/network/wired/devices
[
  {
    "interface": "<string>",
    "is_active": true,
    "available_profiles": [
      "<string>"
    ],
    "active_profile_id": "<string>",
    "active_ip_configuration": {
      "ip_addresses": [
        {
          "address": "<string>",
          "prefix": 123
        }
      ],
      "gateway": "<string>",
      "method": "unknown",
      "dns": [
        "<string>"
      ],
      "never_default": true
    }
  }
]

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

interface
string
required
state
enum<integer>
required

Device State

  • UNKNOWN
  • UNMANAGED
  • UNAVAILABLE
  • DISCONNECTED
  • PREPARE
  • CONFIG
  • NEED_AUTH
  • IP_CONFIG
  • IP_CHECK
  • SECONDARIES
  • ACTIVATED
  • DEACTIVATING
  • FAILED
Available options:
0,
10,
20,
30,
40,
50,
60,
70,
80,
90,
100,
110,
120
is_active
boolean
required
available_profiles
string[]
required
active_profile_id
string | null
active_ip_configuration
IPV4Configuration · object