shared-camera-clip
Create clip
Create a recording clip on a given shared camera
post/shared-cameras/{camera_id}/clips/
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_clips_access, recording_clips_create
- 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
Request body
Example request
{
"name": "Frontdoor loitering",
"start": "2017-01-01T00:00:00.000Z",
"end": "2017-01-01T00:25:00.000Z"
}Response
Clip request was received and clip processing will start
Example response
{
"id": "b9aad334-07ba-4660-9f18-041875ec1ea4",
"created_by": 1,
"name": "Frontdoor loitering",
"status": "READY",
"start": "2017-01-01T00:00:20.000Z",
"end": "2017-01-01T00:25:20.000Z",
"created_at": "2017-02-01T02:37:21.000Z",
"snapshots": [
"https://recording-us-west-2.s3.amazonaws.com/clips/b9aad334-07ba-4660-9f18-041875ec1ea4.jpg?AWSAccessKeyId=AKIAIOSFODNN7EXAMPLE&Signature=NpgCO4tLYjQmhLpq7QgCGkl6EXAMPLE%3D&Expires=1576753567"
],
"download_url": "https://rust-streamer-us-west-2-07489f9b03f198b91.angelcam.com/clips/b986b0c8-05c2-4c59-8fdd-8afd7bbfa2bf/download/?start=2019%2D12%2D09T14%3A19%3A59%2B00%3A00&end=2019%2D12%2D09T14%3A20%3A29%2B00%3A00&token=eyJ0aW1lIjoxNTc2NzUyMzY3LCJ0aW1lb3V0IjoxMjAwfQ%3D%3D%2E1c5903efe76af570bea4ef5edf49c39f5afc1ce2c1aaf79e85ad5d140c8c3f42&filename=Frontdoor%20loitering"
}Changes
No recorded changes to this operation across all 1 revision of this API.