Porovnat verze

Klíč

  • Tento řádek byl přidán.
  • Tento řádek byl odstraněn.
  • Formátování bylo změněno.

...

  • $.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
Blok kódu
titleExample
{
      "status": {
        "sntp_timeout": "undefined",
        "test_wr_param": "acceses_denied"
      },
      "value": {
        "sntp_enable":"no",
        "sntp_server": "ntp.cesnet.cz",
        "sntp_period": 2,
        "dev_sn": "00000013"
      }
}

...