event

Retrieve camera event list

Retrieves list of events belonging to the specified camera

get/cameras/{camera_id}/events/

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/
      Scopesevent_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

startstring date-time

Example: 2017-03-07T14:00:00Z.

endstring date-time

Example: 2017-03-07T16:00:00Z.

limitinteger

Limit result set. Example: 1.

Response

OK

countinteger required

Count of all events

nextstring uri nullable required

Next page from pagination

previousstring nullable required

Previous page from pagination

Example response

{
  "results": [
    {
      "title": "Door open",
      "camera": 20,
      "location": null,
      "site": null,
      "source": "smtp",
      "category": "motion_detected",
      "received_at": "2018-10-24T11:21:59.000Z",
      "occurred_at": "2018-10-24T11:21:39.000Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.