org.tangled.webhook.createWebhook

Create a new webhook for a repository.

Repository @tangled.org did:plc:wshs7t2adsemcrrd4snkeqli namespace authority
Details · procedure
Kindprocedure
Authoritywebhook.tangled.org
Indexed

Procedure

procedure · POST

Input

application/json

active

boolean

Whether the webhook should be active immediately.

  • default: true

events

requiredarray

Event types to subscribe to.

repo

requiredstring · did

DID of the repository as minted by the knot.

secret

string

Optional HMAC secret used to sign payloads. If omitted, payloads are not signed.

url

requiredstring · uri

Endpoint URL that will receive webhook payloads.

Output

application/json

id

requiredstring

ID of the newly created webhook.

Errors

NoEventsSelected

At least one event type must be specified.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.