set-observer-settings
Use the interface to set the number and permissions of watchers.
Request Mode
POST http://ip/mwapi/set-observer-settings
Name |
Description |
observerCount |
The number of watchers. 0: Null 1: One watcher 2: Two watchers |
observerLocked |
Lock the scene that watcher can view. true: Lock, false: Not lock |
observerAnnotateEnable |
Allow the watcher to annotate. true: Allow, false: Not allow |
{
"observerCount": 0,
"observerLocked": false,
"observerAnnotateEnable": true
}
Response Body
{
"message": "success",
"status": 0
}
Name |
Description |
status |
0 indicates a successful data acquisition. Refer to API Status Codes to find specific description for other values. |