rts_notification_rules

Retrieve notifications rules

Retrieves list of user notification rules

get/rts/notifications/rules/

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/
      Scopesnotifications_rules_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.

Response

OK

countinteger required

Count of all notifications rules

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": 85,
      "notification_method": 254,
      "message_type": "camera_status_online",
      "allowed_cameras": [
        1,
        2,
        3
      ]
    }
  ]
}

Changes

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