clip

Retrieve camera clips list

Retrieves the list of recording clips of given camera

get/cameras/{camera_id}/clips/

Request

  • Base URL
    https://api.angelcam.com/v1
  • Auth
    • OAuth 2
      Authorization 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
    • or API key in header Authorization
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

camera_idinteger required

Camera ID

Query parameters

created_bystring

Filter results only to clips created by given users. A comma separated list of user IDs is expected. No whitespace characters are permited. The asterisk (*) character can be used to list all clips. By default the endpoint returns only clips created by the current user.

Response

OK

countinteger required

Count of all clips

nextstring uri nullable required

Next page from pagination

previousstring uri nullable required

Previous page from pagination

Example response

{
  "count": 10,
  "next": null,
  "previous": null,
  "results": [
    {
      "id": "b9aad334-07ba-4660-9f18-041875ec1ea4",
      "created_by": 1,
      "name": "Frontdoor loitering",
      "status": "READY",
      "sharing_token": "cd13975b-0b08-48f5-bd39-3f7d2a0c935a",
      "start": "2017-01-01T00:00:20.000Z",
      "end": "2017-01-01T00:25:20.000Z",
      "created_at": "2017-02-01T02:37:21.000Z",
      "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.