recording-deprecated
Retrieve timeline of records for given camera
Please keep in mind that maximum length of timeline is 1 day.
This endpoint is deprecated and will be removed in the future. Use this endpoint instead.
get/cameras/{camera_id}/recording/timeline/
Request
- Base URLhttps://api.angelcam.com/v1
- Auth
- OAuth 2Authorization codehttps://my.angelcam.com/oauth/authorize/, token URL https://my.angelcam.com/oauth/token/PasswordToken URL https://api.angelcam.com/oauth/token/Scopesrecording_access
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
camera_idinteger required
Camera ID
Query parameters
startstring date-time required
Start time of a timeline. Example: 2016-03-19T08:00:00Z.
endstring date-time required
End time of a timeline. Example: 2016-03-19T14:00:00Z.
Response
OK
Example response
{
"start": "2017-01-01T00:00:00.000Z",
"end": "2017-01-01T03:32:19.000Z",
"segments": [
{
"start": "2017-06-09T00:00:18.000Z",
"end": "2017-06-09T03:25:28.000Z"
},
{
"start": "2017-06-09T04:19:42.000Z",
"end": "2017-06-09T010:39:31Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.