Porovnat verze

Klíč

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

...

  • $.status:
    List of unread configuration parameters.
    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" – not enough memory
      "error" – general internal error
  • $.prop
    List of configuration parameter descriptions.
  • $.prop.*.type
    Specifies the type of parameter.
    Type: string
    Mandatory.
    • Values:
      "char"   char parameter ('a', '8', '#', …)
      "short"  16 bit signed number, range from -32768 to 32767
      "int"    32 bit signed number (from -2147483648 to 2147483647)
      "long"   32 bit signed number (from -2147483648 to 2147483647)
      "float"  float number (from 1.2E-38 to 3.4E+38)
      "double" double number (from 2.3E-308 to 1.7E+308)
      "string" string parameter (size additional param is required)
      "action" parameter for action definition (trigger, event)
      "file"   parameter for file transfer definition
  • $.prop.*.access
    Parameter permission state.
    Type: string
    Mandatory.
    • Values:
      "rw"  full accessible parameter
      "r"   read only parameter
      "w"   write only parameter
      ""    parameter with no access  Page_break_pdf
  • $.prop.*.size
    Parameter size.
    Type: number
    Mandatory only for string parameter, not relevant for other types.


  • $.prop.*.minValue
    Parameter minimum value.
    Type: number
    Optional.
    Used for short, int and long type of  parameter.


  • $.prop.*.maxValue
    Parameter maximum value.
    Type: number
    Optional
    Used for short, int and long type of  parameter.


  • $.prop.*.enum
    Parameter enumeration definition.
    Type: array
    Optional

    • Format of list items: "<parameter_name>":"<error_status>"


  • $.prop.*.regex
    Regular expression for parameter value validation.
    Type: string
    Optional


  • $.prop.*.restartRequired
    Information about require restart after change value  of this parameter.
    Type: boolean
    Optional  (default value is false). 

    Page_break_pdf

...