This repository has no description
1{
2 "lexicon": 1,
3 "id": "org.tangled.temp.repo.updateWebhook",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Update an existing webhook. Only supplied fields are changed.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": ["repoDid", "id"],
13 "properties": {
14 "repoDid": {
15 "type": "string",
16 "format": "did",
17 "description": "DID of the repository as minted by the knot."
18 },
19 "id": {
20 "type": "integer",
21 "description": "Webhook ID to update."
22 },
23 "url": {
24 "type": "string",
25 "format": "uri"
26 },
27 "secret": {
28 "type": "string"
29 },
30 "active": {
31 "type": "boolean"
32 },
33 "events": {
34 "type": "array",
35 "items": {
36 "type": "string"
37 }
38 }
39 }
40 }
41 },
42 "errors": [
43 { "name": "WebhookNotFound" }
44 ]
45 }
46 }
47}