recording
Download a given recording section
This endpoint will construct a download URL for a specified recording section of a given camera. If there are no records within the section, the download URL will be still returned, however, the URL will respond with HTTP 404. If there are any gaps within the specified recording section, they will be skipped.
Please keep in mind that the maximum downloadable length is 3 hours.
get/recording/{recording_id}/download/
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
recording_idstring uuid required
Recording UUID
Query parameters
startstring date-time required
Start time of the download. Example: 2016-03-19T08:00:00Z.
endstring date-time required
End time of the download. Example: 2016-03-19T14:00:00Z.
filenamestring
Filename suggestion for the download. The filename extension will be added automatically.
Response
OK
Example response
{
"url": "https://rust-streamer-eu-central-1-07489f9b03f198b91.angelcam.com/recordings/7e65d945-fffc-42e7-b78d-dd6f5cea91ee/download/?start=2019%2D09%2D30T07%3A23%3A14%2E932%2B00%3A00&end=2019%2D09%2D30T07%3A53%3A57%2E016%2B00%3A00&token=eyJ0aW1lIjoxNTY5ODU3NjgzLCJ0aW1lb3V0IjoxMjAwfQ%3D%3D%2E020b136d5da0d9518ed5428bfa01cadab1a139bf1e4f8e64a726fe3dfd40e541&filename=clip"
}Changes
No recorded changes to this operation across all 1 revision of this API.