Get the list of interfaces of the device

GET {{baseUrl}}/api/v2/ndm/interfaces?device_id=example:1.2.3.4

Get the list of interfaces of the device.

Request Params

KeyDatatypeRequiredDescription
device_idstring(Required) The ID of the device to get interfaces from.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"data":[{"attributes":{"alias":"interface_0","description":"a network interface","index":0,"mac_address":"00:00:00:00:00:00","name":"if0","status":"up"},"id":"example:1.2.3.4:99","type":"nisi"},{"attributes":{"alias":"interface_0","description":"a network interface","index":0,"mac_address":"00:00:00:00:00:00","name":"if0","status":"up"},"id":"example:1.2.3.4:99","type":"dolor Ut ut mollit"}]}