...
Code Block |
---|
http://merlin.local:55552/v0/frenzel_state |
Body for PUT
Code Block |
---|
{
"side": "right",
"state": "run",
"duration_set": 20000,
"duration_done": 0
} |
Body for GET
Code Block |
---|
{ "side": "right" } |
The body for a GET request can be reduced to just indicate the camera side for which the state shall be send.
However, the full body as for PUT
can be Send as well. All other information beside side
is ignored.
MQTT response
none
Notes
This endpoint controls and reports the state of recording in Frenzel mode.
...
It can be set in “reset” state only with a PUT containing
state=reset
.It can also be passed in a PUT request with
state=run
.The value must not exceed the number returned by https://zeisberg.atlassian.net/wiki/spaces/DPET/pages/2311159810.
...
Note |
---|
The value is ignored in PUT requests but musst be contained in the struct. |
Examples
Expand | ||
---|---|---|
| ||
Expand | ||
---|---|---|
| ||