org.tangled.webhook.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | webhook.tangled.org |
| Indexed |
Showing version bafyreif4cb6mijxpmt2nbuhr2vol6la44d6qhcqtix6dg7ailik7aqnbya. Show the latest
Checks
Validunlimited-stringdefs.delivery.properties.idNo maxLength, maxGraphemes or format limits this string.unlimited-bytesdefs.delivery.properties.requestBodyNo maxLength limits these bytes.unlimited-bytesdefs.delivery.properties.responseBodyNo maxLength limits these bytes.unlimited-stringdefs.delivery.properties.webhookNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.eventTypeNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.webhook.properties.idNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"delivery": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"event": {
"description": "Event type that triggered the delivery.",
"ref": "#eventType",
"type": "ref"
},
"id": {
"description": "Unique ID for tracking this delivery attempt.",
"type": "string"
},
"requestBody": {
"type": "bytes"
},
"responseBody": {
"type": "bytes"
},
"responseCode": {
"type": "integer"
},
"success": {
"type": "boolean"
},
"url": {
"format": "uri",
"type": "string"
},
"webhook": {
"description": "ID of the webhook this delivery belongs to.",
"type": "string"
}
},
"required": [
"id",
"webhook",
"event",
"url",
"success",
"createdAt"
],
"type": "object"
},
"eventType": {
"knownValues": [
"push",
"repository:renamed",
"pull_request:created",
"pull_request:resubmitted",
"pull_request:merged",
"pull_request:closed",
"pull_request:reopened",
"org.tangled.event.pullRequest"
],
"type": "string"
},
"webhook": {
"properties": {
"active": {
"description": "Whether the webhook is currently enabled.",
"type": "boolean"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"events": {
"description": "Event types this webhook is subscribed to.",
"items": {
"ref": "#eventType",
"type": "ref"
},
"type": "array"
},
"id": {
"description": "Webhook identifier.",
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
},
"url": {
"description": "Endpoint URL that receives webhook payloads.",
"format": "uri",
"type": "string"
}
},
"required": [
"id",
"url",
"active",
"events",
"createdAt"
],
"type": "object"
}
},
"id": "org.tangled.webhook.defs",
"lexicon": 1
}