Skip to content

Commit 4869000

Browse files
committed
fix: example for notifications filter
1 parent 7026971 commit 4869000

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/specs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -827,7 +827,7 @@ commands:
827827
- "tigris buckets set-notifications my-bucket --url https://example.com/webhook"
828828
- "tigris buckets set-notifications my-bucket --url https://example.com/webhook --token secret123"
829829
- "tigris buckets set-notifications my-bucket --url https://example.com/webhook --username admin --password secret"
830-
- "tigris buckets set-notifications my-bucket --url https://example.com/webhook --filter 'images/*'"
830+
- 'tigris buckets set-notifications my-bucket --url https://example.com/webhook --filter "WHERE `key` REGEXP \"^images\""'
831831
- "tigris buckets set-notifications my-bucket --enable"
832832
- "tigris buckets set-notifications my-bucket --disable"
833833
- "tigris buckets set-notifications my-bucket --reset"
@@ -846,7 +846,7 @@ commands:
846846
description: Webhook URL to send notifications to (must be http or https)
847847
alias: u
848848
- name: filter
849-
description: Event filter pattern (e.g. 'images/*')
849+
description: "SQL WHERE clause to filter events by key (e.g. WHERE `key` REGEXP \"^images\")"
850850
alias: f
851851
- name: token
852852
description: Token for webhook authentication

0 commit comments

Comments
 (0)