Setup a new camera or fix a broken one
Changed onpost/api/v1/cameras/{id}
Request
- The document declares no server URL.
- AuthHTTP digest
Request body
Example request
{
"name": "MuadDib_Camera_1",
"resolution": {
"width": 640,
"height": 640
},
"rotation": 180,
"focus": 0.5,
"exposure": 4.2,
"send_to_connect": true
}Response
OK
Changes
- info
added the new optional request property
- info
- breaking
removed the enum value
EVERY_10_MINof the request property - breaking
removed the enum value
ON_LAYER_CHANGEof the request property - info
added the new
EACH_LAYERenum value to the request property - info
added the new
FIFTH_LAYERenum value to the request property - info
added the new
MANUALenum value to the request property - info
added the new
SIXTY_SECenum value to the request property - info
added the new
TEN_SECenum value to the request property - info
added the new
THIRTY_SECenum value to the request property
- breaking