incidents

Retrieve incidents

Retrieves list of user incidents

get/rts/incidents/

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/
      Scopesincidents_access
    • or API key in header Authorization
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

limitinteger

Limit result set. Example: 1.

offsetinteger

Return results starting at offset. Example: 10.

startstring date-time

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

endstring date-time

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

ordering'asc' | 'desc'

Orderign of results, based on created_at field. Default: desc

Response

OK

countinteger required

Count of all incidents

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": 1,
      "created_at": "2019-08-09T13:23:23.000Z",
      "verified_at": "2019-08-09T13:23:58.000Z",
      "closed_at": null,
      "first_event_occurred_at": "2019-08-09T13:23:20.000Z",
      "last_event_occurred_at": "2019-08-09T13:25:16.000Z",
      "event_count": 5,
      "incident_sharing_url": "www.example.com",
      "snapshot": {
        "url": "https://dsw4ncxjbie85.cloudfront.net/snapshot/81/y8jol6kbn0ol1gh2.jpg",
        "created_at": "2019-08-09T13:23:24.000Z"
      }
    }
  ]
}

Changes

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