Get Network

Retrieves a specific NetworkDevice resource. Returns the requested network's details including its type, hardware address, and current connection status.

Path parameters

networkstringRequired
The network id.

Response

OK
namestring

Identifier for the network device resource. Format: //system.v1.engine.core.machanirobotics.com/networks/{network}

ifacestringRead-only

System interface name for the network device (e.g., “wlan0”, “eth0”). This field is populated by the system and cannot be modified by clients.

networkTypeintegerRead-only
The type of network device. This field is populated by the system and cannot be modified by clients.
hardwareAddressstringRead-only

MAC address of the network interface in standard format (e.g., “00:11:22:33:44:55”). This field is populated by the system and cannot be modified by clients.

activeConnectionstringRead-only

Reference to an active network connection if this device is currently connected. If the device is not connected, this field will not be present. This field is populated by the system and cannot be modified by clients. Format: //system.v1.engine.core.machanirobotics.com/devices/{device}/activeConnection

Errors

400
Bad Request Error