Retrieve the cyclic recording retention time, in minutes, for each camera of a device. The cyclic retention time is the amount of time that recordings are kept on the SD card before the first recording is removed to make space for a new recording.
Successful operation
Bad request error
Unauthorized error
Forbidden error
Not found error
Internal server error
curl -i -X GET \ https://api-prod.surfsight.net/v2/devices/:imei/retention-config \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{- "data": {
- "config": "[{\"cameraId\":1, \"retentionMinutes\":30}, {\"cameraId\":2, \"retentionMinutes\":30},{\"cameraId\":51, \"retentionMinutes\":30}]"
}
}