Owner's manual
URI: aml/system/network/interfaces
Method GET
Description Retrieve the all network interfaces resources, eth0, eth1...
Media Type Request: N/A
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, and 500
XML Response See “URI: aml/system/network/interfaces” (page 91) for the XML Response
code.
URI: aml/system/network/interface/{name}
Method GET
Description Request the network interface whose name is given by URI path template
“name”.
Media Type Request: N/A
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, and 500
Method PUT
Description Update the network interface whose name is given by the URI path
template ‘name’. The client request data below indicates that the interface
speed should be changed to 1 (10Mb/s).
To change back to auto negotiation set autoNegotiate element to true
and remove the speed element. To set a specific speed (1,2 or 3) the
autoNegotiate element must be set to false.
Media Type Request: application/xml and application/json
Response: application/xml and application/json
Parameters N/A
Response Code 200, 401, 403, 404, and 500
XML Request Data
<?xml version="1.0" encoding="UTF-8" standalone="yes
<ns2:netInterface
xmlns:ns2="http://automatedMediaLibrary/">
<name>eth0</name>
<autoNegotiate>false</autoNegotiate>
<speed>1</speed>
</ns2:netInterface>
XML Response See “URI: aml/system/network/interface/{name}” (page 91) for the
XML Response code.
URI: aml/system/network/configurations
Method GET
Description Retrieve the network configurations for all the configured interfaces, eth0,
eth1...
Media Type Request: N/A
Response: application/xml and application/json
URI: aml/system/network/interfaces 45