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

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

startstring date-time

Start time of timeline (the value you entered in the query parameter). Example: 2017-01-01T00:00:00Z.

endstring date-time

End time of timeline (the value you entered in the query parameter). Example: 2017-01-01T00:00:00Z.

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.