System

Get network adapters of system

get/system/network_adapters

Request

  • Base URL: http://localhost/v2
  • URL: http://localhost/v2/system/network_adapters
  • Auth: HTTP bearer

Response

Success

namestring required
ipv4_addressesIpv4Address[]
ipv6_addressesIpv6Address[]
gatewaystring ipv4
mac_addressstring
net_type'unknown' | 'wired' | 'wireless' | 'local' | 'bridge' | 'virtual' required
is_connectedboolean required

Example response

[
  {
    "ipv4_addresses": [
      "172.31.0.42"
    ],
    "networks": [
      {
        "address": "172.31.0.42",
        "netmask": "255.255.0.0"
      }
    ],
    "gateway": "172.31.0.1"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.