This resource allows user to request a special behaviour to SENSR.
Detailed behaviour of each commands are described below.
GET§
-
/commands/list§
Return all possible command list in json format.
- Parameters
- Return code
- 200 OK
- 200 OK
POST§
-
/commands/start§
Request to start a new mode.
- Parameters
- mode : A new mode to start. (runtime, calibration, record(N.A.), replay(N.A.))
- Return code
- 200 OK
- 400 BAD REQ
- Parameters
-
/commands/apply-change§
Apply all the configuration that has been changed (eg. zone setup).
- Parameters
- Return code
- 200 OK
- 200 OK
-
/commands/reload§
Reload original project configuration.
- Parameters
- Return code
- 200 OK
- 200 OK
-
/commands/cancel§
Request to cancel mode switching.
This command is useful when SENSR does not respond because of wrong setup of algo node.- Parameters
- Return code
- 200 OK
- 200 OK
-
/commands/custom§
Request to do a special action.(N.A.)
- Parameters
- cmd-id : A command ID. (XXXX, YYYY, ZZZZ...)
- cmd-param : A command parameters. (list of string distinguished by ";"delimiter)
- Return code
- 200 OK
- 400 BAD REQ
- 404 NOT FOUND
- Parameters