GET /info/network/adapters/{adaptersName}/
This resource is used to show all the network adapter’s details. You must replace the "adaptersName" in the URL with the actual network adapter’s name.
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.
The interface name’s string for the desired adapter.
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: Adapter
propertyName | type | description | get |
---|---|---|---|
Interface | String | This is the interface's name. | GET |
IpAddress | String | This is the interface's IP address. | GET |
MacAddress | String | This is the interface's MAC address. | GET |
SubnetMask | String | This is the interface's subnet mask. | GET |
Gateway | String | This is the interface's gateway. | GET |
Url Example: https://1.1.1.1/api/rest/v1/info/network/adapters/usb1
{
"subnetMask": "255.255.255.0",
"macAddress": "E8:94:F6:0B:4B:92",
"gateway": "N/A",
"interface": "usb1",
"ipAddress": "192.168.0.1"
}
Url Example: https://1.1.1.1/api/rest/v1/info/network/adapters/usb1
<?xml version="1.0" encoding="utf-8"?>
<Adapter>
<Interface>usb1</Interface>
<IpAddress>192.168.0.1</IpAddress>
<MacAddress>E8:94:F6:0B:4B:92</MacAddress>
<SubnetMask>255.255.255.0</SubnetMask>
<Gateway>N/A</Gateway>
</Adapter>