Overview
The REST Web Service, located at /network_config/interfaces
, returns detailed network interfaces information for the server.
NOTE: API Authorization Required!
Request URL
http://myserver/network_config/interfaces?api_key=[api_key]
NOTE: JSON response is also available by accessing network_config/interfaces.json
Return
Success
A typical successful return is in this format:
< ?xml version="1.0" encoding="utf-8" ?>
eth0
192.168.27.158
255.255.255.0
192.168.27.255
192.168.27.1
00:30:38:AF:62:B8
eth1
00:30:38:AF:62:B9
Failure
The following is typically the result of an invalid API Key:
< ?xml version="1.0" encoding="utf-8" ?>
Access Denied
History
Introduced | |
---|---|
Princeton Server | 3.16.0 |