GET /info/network/adapters
This resource lists all network adapters.
ul
Used when you are operating a browser without access to the header parameter. This allows you to choose which encoding you want to use for the response:
All these resources can be used according what the resource allows.
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
Object Name: Adapters
propertyName | type | description | get |
---|---|---|---|
Adapters | Array |
This is an array of Adapter objects. It lists all the adapters present in the device. | GET |
Url Example: https://1.1.1.1/api/rest/v1/info/network/adapters
[
{
"href": "/api/rest/v1/info/network/adapters/ethernet",
"name": "ethernet"
},
{
"href": "/api/rest/v1/info/network/adapters/usb1",
"name": "usb1"
},
{
"href": "/api/rest/v1/info/network/adapters/usb2",
"name": "usb2"
}
]
Url Example: https://1.1.1.1/api/rest/v1/info/network/adapters
<?xml version="1.0" encoding="utf-8"?>
<Adapters>
<Adapter>
<Href>/api/rest/v1/info/network/adapters/ethernet</Href>
<Name>ethernet</Name>
</Adapter>
<Adapter>
<Href>/api/rest/v1/info/network/adapters/usb1</Href>
<Name>usb1</Name>
</Adapter>
<Adapter>
<Href>/api/rest/v1/info/network/adapters/usb2</Href>
<Name>usb2</Name>
</Adapter>
</Adapters>