This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

core / lexicons / temp / repo / toggleWebhook.json
1.1 kB 44 lines
1{ 2 "lexicon": 1, 3 "id": "org.tangled.temp.repo.toggleWebhook", 4 "defs": { 5 "main": { 6 "type": "procedure", 7 "description": "Toggle the active state of a webhook.", 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 toggle." 22 } 23 } 24 } 25 }, 26 "output": { 27 "encoding": "application/json", 28 "schema": { 29 "type": "object", 30 "required": ["active"], 31 "properties": { 32 "active": { 33 "type": "boolean", 34 "description": "New active state of the webhook." 35 } 36 } 37 } 38 }, 39 "errors": [ 40 { "name": "WebhookNotFound" } 41 ] 42 } 43 } 44}