aYOUne
translate
Not in your language

This page is not yet available in en. You're reading the de version.

ay webhooks

ay webhooks (Alias: hooks)

Verwaltet Outbound-Webhooks: Erstellen, Inspizieren, Löschen und Templates listen. Daten landen in Hooks (Module: config).

Subcommands

ay webhooks list

Listet alle registrierten Hooks.

ay webhooks list
ay webhooks list -l 100

ay webhooks get <id>

Detail-View eines Hooks.

ay webhooks get 64a1b2c3

ay webhooks create [flags]

Neuen Hook anlegen.

Flag Zweck
--body <json> Hook-Definition als JSON-String
--body-file <path> Hook-Definition aus Datei
ay webhooks create --body '{
  "name":"order-paid → fulfillment",
  "url":"https://api.fulfillment.com/orders",
  "trigger":{"event":"orders.paid"},
  "secret":"whsec_..."
}'

ay webhooks create --body-file ./hooks/order-paid.json

ay webhooks delete <id> (Alias: rm)

ay webhooks delete 64a1b2c3

ay webhooks templates

Listet vordefinierte Webhook-Templates.

ay webhooks templates

Hinweis

Für Update + Delivery-Logs (Pre-MVP) → bis dahin via ay update hooks <id> und ay list hooklogs --filter '{"_hookID":"<id>"}'.

Siehe auch