...
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 } |
Meaning of json items:
- $.value:
List of readed parameters.
Type: object
List items are in format:"<parameter_name>": <parameter_value>
- $.status:
List of unread parameter values.
Is present only for response with response code 400 – Bad request.
Type: object
Optional.- Format of list items: "<parameter_name>": "<error_status>"
<parameter_name> – name of reported parameter
<error_status> – type of error. - Possible values:
"undefined" – parameter not exists
"no memory" – memory not enough
"access denied" – parameter is not accessible
"error" – general internal error
- Format of list items: "<parameter_name>": "<error_status>"
...