v1

latestOpenAPI 3.0.32026-07-26134195287.9 KB
CloudBackup

Update cloud backup settings for a certain camera.

If camera cloud backup has been enabled and disabled before, enable it again will start backup from last disabled time

post/cameras/v1/cloud_backup/settings

Request body

camera_idstring required

The unique identifier of the camera.

days_to_preservestring required

Delimited list of booleans indicating which days footage should be uploaded. The elements in the array indicate the following days in order: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday. If value is 1, cloud backup is on for that day. If value is 0, cloud backup is off for that day. For example, <code>0,1,1,1,1,1,0</code> means only backup on weekdays.

enabledinteger required

Status of cloud backup for a camera. If value is 1, cloud backup is enabled. If value is 0, cloud backup is disabled.

time_to_preservestring required

Delimited list of <code>start_time, end_time</code> as timeslot for which a user wants footage to be backed up to the cloud, start_time and end_time are integers indicating seconds to midnight, i.e, <code>3600,7200</code> means 1am - 2am

upload_timeslotstring required

Delimited list of <code>start_time, end_time</code> as timeslot for scheduled time for footage upload, start_time and end_time are integers indicating seconds to midnight, i.e, <code>3600,7200</code> means 1am - 2am

video_qualitystring required

Quality of the uploaded video. Two values are possible: <code>STANDARD_QUALITY</code> and <code>HIGH_QUALITY</code>.

video_to_uploadstring required

The type of video that is backed-up. Two values are possible: <code>MOTION</code> and <code>ALL</code>.

Response

ok