List Event Subscriptions
Changed onList Event Subscriptions
Request
- Base URLhttps://app.files.com/api/rest/v1
- URLhttps://app.files.com/api/rest/v1/event_subscriptions
- Authnone declared
Query parameters
Used for pagination. When a list request has more records available, cursors are provided in the response headers X-Files-Cursor-Next and X-Files-Cursor-Prev. Send one of those cursor value here to resume an existing list from the next available record. Note: many of our SDKs have iterator methods that will automatically handle cursor-based pagination.
Number of records to show per page. (Max: 10000, 1,000 or less is recommended).
If set, sort records by the specified field in either asc or desc direction. Valid fields are name, enabled, event_channel_id or workspace_id.
If set, return records where the specified field is equal to the supplied value. Valid fields are enabled, event_channel_id or workspace_id. Valid field combinations are [ enabled, event_channel_id ], [ workspace_id, enabled ], [ workspace_id, event_channel_id ] or [ workspace_id, enabled, event_channel_id ].
Response
A list of EventSubscriptions objects.
Example response
[
{
"id": 1,
"event_channel_id": 1,
"workspace_id": 1,
"apply_to_all_workspaces": true,
"name": "example",
"subject": "example",
"message": "example",
"message_only": true,
"enabled": true,
"event_types": [
"sync_run.failure.v1"
],
"filter": {
"payload.sync_name": {
"prefix": "Nightly"
},
"payload.event_errors": {
"exists": true
}
},
"event_target_ids": [
1
],
"created_at": "2000-01-01T01:00:00Z",
"updated_at": "2000-01-01T01:00:00Z"
}
]Changes
- info
endpoint added
- info