Get Interfaces

Obtains list of physical network interfaces.

URL

/api/v1/interface/physical

HTTP Method

GET

URL Parameters

none

Response Parameters

Returns an array of strings containing interfaces.

Example: Get interfaces

Request

GET

/api/v1/interface/physical

cURL

curl -kv
-u api_ninja:ninja_password
-X GET
https://172.31.1.172:4849/api/v1/interface/physical

Response

[
    "eth0",
    "eth1"
]