full diff

org.tangled.webhook.createWebhook

tangled.org +0 −0
From
bafyreic6azwej3o7y66cq2kgr7q7je7zz5dmj6lhintgv4vhriuuduxtz4 indexed 2026-10-28 14:06 UTC View this version
To
bafyreic6azwej3o7y66cq2kgr7q7je7zz5dmj6lhintgv4vhriuuduxtz4 indexed 2026-10-28 14:06 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Create a new webhook for a repository.",
66 "errors": [
77 {
88 "description": "At least one event type must be specified.",
99 "name": "NoEventsSelected"
1010 }
1111 ],
1212 "input": {
1313 "encoding": "application/json",
1414 "schema": {
1515 "properties": {
1616 "active": {
1717 "default": true,
1818 "description": "Whether the webhook should be active immediately.",
1919 "type": "boolean"
2020 },
2121 "events": {
2222 "description": "Event types to subscribe to.",
2323 "items": {
2424 "ref": "org.tangled.webhook.defs#eventType",
2525 "type": "ref"
2626 },
2727 "type": "array"
2828 },
2929 "repo": {
3030 "description": "DID of the repository as minted by the knot.",
3131 "format": "did",
3232 "type": "string"
3333 },
3434 "secret": {
3535 "description": "Optional HMAC secret used to sign payloads. If omitted, payloads are not signed.",
3636 "type": "string"
3737 },
3838 "url": {
3939 "description": "Endpoint URL that will receive webhook payloads.",
4040 "format": "uri",
4141 "type": "string"
4242 }
4343 },
4444 "required": [
4545 "repo",
4646 "url",
4747 "events"
4848 ],
4949 "type": "object"
5050 }
5151 },
5252 "output": {
5353 "encoding": "application/json",
5454 "schema": {
5555 "properties": {
5656 "id": {
5757 "description": "ID of the newly created webhook.",
5858 "type": "string"
5959 }
6060 },
6161 "required": [
6262 "id"
6363 ],
6464 "type": "object"
6565 }
6666 },
6767 "type": "procedure"
6868 }
6969 },
7070 "id": "org.tangled.webhook.createWebhook",
7171 "lexicon": 1
7272}