GET /system
This resource is the root access to the main system settings.
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: System
Property Name | Type | Description | Method |
---|---|---|---|
DateTime | Object | This object is used to represent the date, time and timezone of the current device. | GET |
WebServer | Object | This object is the representation of the web server elements. | GET |
Network | Object | This object is the representation of the network elements. | GET |
OpenADR | Object | GET |
URL Example: https://0.0.0.0/api/rest/v1/system?encode=json
{
"dateTime": {
"href": "/api/rest/v1/system/date-time",
"name": "dateTime"
},
"network": {
"href": "/api/rest/v1/system/network",
"name": "network"
},
"webServer": {
"href": "/api/rest/v1/system/web-server",
"name": "webServer"
}
}
URL Example: https://0.0.0.0/api/rest/v1/system?encode=xml
<?xml version="1.0" encoding="utf-8"?>
<System>
<DateTime>
<Href>/api/rest/v1/system/date-time</Href>
<Name>dateTime</Name>
</DateTime>
<Network>
<Href>/api/rest/v1/system/network</Href>
<Name>network</Name>
</Network>
<WebServer>
<Href>/api/rest/v1/system/web-server</Href>
<Name>webServer</Name>
</WebServer>
</System>