---
title: "Retrieve timeline of records for given shared camera"
method: GET
path: "/shared-cameras/{camera_id}/recording/timeline/"
tags: ["shared-camera-recording"]
deprecated: true
---

# Retrieve timeline of records for given shared camera

`GET /shared-cameras/{camera_id}/recording/timeline/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/shared-cameras/{camera_id}/recording/timeline/`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://my.angelcam.com/oauth/authorize/`, token URL `https://my.angelcam.com/oauth/token/`
    - Password, token URL `https://api.angelcam.com/oauth/token/`
    - Scopes: `recording_access`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/shared-cameras/:camera_id/recording/timeline/get.ts> (a function with typed inputs; its response is checked against the schema)

> **Deprecated.**

Please keep in mind that maximum length of timeline is 1 day.

## Path parameters

- `camera_id` integer, required

## Query parameters

- `start` string, date-time, required
- `end` string, date-time, required

## Response `200`

OK

- RecordingTimelineResponse
  - `start` string, date-time: Start time of timeline (the value you entered in the query parameter). Example: `2017-01-01T00:00:00Z`.
  - `end` string, date-time: End time of timeline (the value you entered in the query parameter). Example: `2017-01-01T00:00:00Z`.
  - `segments` SegmentObject[]: Array of recording segments.
    - `start` string, date-time: Start of record segment. Example: `2017-01-01T00:00:00Z`.
    - `end` string, date-time: End of record segment. Example: `2017-01-01T00:00:00Z`.

## Other responses

- `400`: Query params are invalid.
- `401`: Missing or invalid authorization.
- `403`: Missing permission.
- `404`: The specified resource was not found

---

[API](https://skmtc.dev/angelcam/apis/angelcam-api.md) - [All operations](https://skmtc.dev/angelcam/apis/angelcam-api/llms.txt) - [OpenAPI document](https://skmtc.dev/angelcam/apis/angelcam-api/revisions/a3b9b1d3e96a?raw)
