org.tangled.webhook.updateWebhook

Update an existing webhook. Only supplied fields are changed.

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

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.secretNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.webhookNo maxLength, maxGraphemes or format limits this string.
  • endpoint-output-undefined defs.mainNo output is defined. Endpoints should define one, even an empty one.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Update an existing webhook. Only supplied fields are changed.",
      "errors": [
        {
          "name": "WebhookNotFound"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "active": {
              "type": "boolean"
            },
            "events": {
              "items": {
                "ref": "org.tangled.webhook.defs#eventType",
                "type": "ref"
              },
              "type": "array"
            },
            "repo": {
              "description": "DID of the repository as minted by the knot.",
              "format": "did",
              "type": "string"
            },
            "secret": {
              "type": "string"
            },
            "url": {
              "format": "uri",
              "type": "string"
            },
            "webhook": {
              "description": "Webhook ID to update.",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "webhook"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "org.tangled.webhook.updateWebhook",
  "lexicon": 1
}