{ "lexicon": 1, "id": "org.tangled.webhook.updateWebhook", "defs": { "main": { "type": "procedure", "description": "Update an existing webhook. Only supplied fields are changed.", "input": { "encoding": "application/json", "schema": { "type": "object", "required": ["repo", "webhook"], "properties": { "repo": { "type": "string", "format": "did", "description": "DID of the repository as minted by the knot." }, "webhook": { "type": "string", "description": "Webhook ID to update." }, "url": { "type": "string", "format": "uri" }, "secret": { "type": "string" }, "active": { "type": "boolean" }, "events": { "type": "array", "items": { "type": "ref", "ref": "org.tangled.webhook.defs#eventType" } } } } }, "errors": [ { "name": "WebhookNotFound" } ] } } }