...
Blok kódu | ||
---|---|---|
| ||
{ "param": [ // request for reading values of specific parameters "sntp_enable", "sntp_server", "sntp_timeout", "sntp_period", "dev_sn", "test_wr_param" ] } //OR { "param": [ ] //request for reading all values of existing parameters: } |
Response
- Response code:
- 200 – OK
- 400 – Error (bad request)
- 401 – Unauthorized
- 500 – Server error
- 512 - Internal application error
- Response header: Set-Cookie: session - Actual session value.
- Response type: json json
Page_break_pdf
Blok kódu | ||
---|---|---|
| ||
"$schema": "http://json-schema.org/draft-07/schema#", "title": "get - response", "type": "object", "properties": { "status": { "type": "object", "additionalProperties": { "type": "string", "minLength": 1, "pattern": "^[a-z_][a-z0-9_]*$" } }, "value": { "type": "object", "additionalProperties": { "type": [ "string", "number", "boolean" ], "minLength": 1, "pattern": "^[a-z_][a-z0-9_]*$" } } }, "required": [ "value" ], "additionalProperties": false } |
...