org.tangled.webhook.updateWebhook

tangled.org

Documentation

Update an existing webhook. Only supplied fields are changed.

main procedure

Update an existing webhook. Only supplied fields are changed.

Input

Encodingapplication/json
active boolean Optional

No description available.

events array Optional

No description available.

repo stringdid Required

DID of the repository as minted by the knot.

secret string Optional

No description available.

url stringuri Optional

A valid URI.

webhook string Required

Webhook ID to update.

Errors

WebhookNotFound
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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"
}

Lexicon Garden

@