Porovnat verze

Klíč

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

...

The session parameter is used to identify of currently logged user. Is transmitted in the Cookie header and received in the Set-Cookie header. The session value is not static and may change during the active session. A missing or incorrect session value will result in the request being rejected (response error „401 Unathorized“). This does not apply to requests that do not require authorization (login, discovery).

Possible <error_status> values

...

"undefined"

...

parameter not exists

...

"bad value"

...

"bad type"

...

"access denied"

...

"no memory"

...

"error"

...

"busy"

...

Overview of HTTP API Functions

  • /api/discovery – Get device type

  • /api/get – Reading of parameter value

  • /api/set – Writing of parameter value

  • /api/prop – Reading of parameter property

  • /api/login – Login user

  • /api/logout Logout user

  • Change password

  • Downloading file

  • Uploading file