PUT /accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}

Create event notification rule.

Servers

Path parameters

Name Type Required Description
bucket_name String Yes
queue_id String Yes
account_id String Yes

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

cf-r2-jurisdiction String No

Possible values:

  • "eu"
  • "fedramp"
  • "default"

Default value: "default"

Request body fields

Name Type Required Description
rules[] Array No

Array of rules to drive notifications.

rules[].actions[] Array Yes

Array of R2 object actions that will trigger notifications.

rules[].prefix String No

Notifications will be sent only for objects with this prefix.

rules[].description String No

A description that can be used to identify the event notification rule after creation.

rules[].suffix String No

Notifications will be sent only for objects with this suffix.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.