Get current Wi-Fi settings
Returns Wi-Fi settings. If DHCP option is enabled, response will contain settings gained from DHCP server.
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
- dhcp boolean
- ip_address ipv4
- mask ipv4
- gateway ipv4
- dns ipv4
{
"dhcp": false,
"ip_address": "192.168.1.96",
"mask": "255.255.255.0",
"gateway": "192.168.1.1",
"dns": "8.8.8.8"
}
{
"dhcp": false,
"ip_address": "192.168.1.96",
"mask": "255.255.255.0",
"gateway": "192.168.1.1",
"dns": "8.8.8.8"
}
Please log in
- application/json
- Schema
- Example (from schema)
Schema
error object
code stringPossible values: [
invalid_authentification
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param string
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
Loading...