Trigger

List triggers

Retrieve all trigger objects.

get/api/v1/triggers

Query parameters

page_sizeinteger

Number of results per page

cursorstring

A value used for cursor-based pagination. Obtain this value from the next or previous URLs in a paginated response. Do not construct cursor values manually.

idinteger[]

Filter by a list of ids, e.g. ?id=1,2,3

eventstring

Event filter

queueinteger[]

Queue ID(s) filter

ordering'id' | '-id' | 'event' | '-event'

Result ordering.

Response

OK

Example response

{
  "results": [
    {
      "id": 234,
      "url": "https://example.rossum.app/api/v1/triggers/234",
      "queue": "https://example.rossum.app/api/v1/queues/8198",
      "event": "annotation_imported",
      "condition": {},
      "email_templates": [
        "https://example.rossum.app/api/v1/email_templates/123",
        "https://example.rossum.app/api/v1/email_templates/321"
      ],
      "delete_recommendations": [
        "https://example.rossum.app/api/v1/delete_recommendations/123",
        "https://example.rossum.app/api/v1/delete_recommendations/321"
      ],
      "modified_by": "https://example.rossum.app/api/v1/users/10775",
      "modified_at": "2021-04-26T10:08:03.856648Z"
    }
  ]
}

Changes

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