This repository has no description
1{
2 "lexicon": 1,
3 "id": "org.tangled.temp.repo.listWebhookDeliveries",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "List recent delivery attempts for a webhook.",
8 "parameters": {
9 "type": "params",
10 "required": ["repoDid", "id"],
11 "properties": {
12 "repoDid": {
13 "type": "string",
14 "format": "did",
15 "description": "DID of the repository as minted by the knot."
16 },
17 "id": {
18 "type": "integer",
19 "description": "Webhook ID."
20 },
21 "limit": {
22 "type": "integer",
23 "minimum": 1,
24 "maximum": 100
25 }
26 }
27 },
28 "output": {
29 "encoding": "application/json",
30 "schema": {
31 "type": "object",
32 "required": ["deliveries"],
33 "properties": {
34 "deliveries": {
35 "type": "array",
36 "items": {
37 "type": "ref",
38 "ref": "#delivery"
39 }
40 }
41 }
42 }
43 }
44 },
45 "delivery": {
46 "type": "object",
47 "required": ["id", "deliveryId", "event", "url", "success", "createdAt"],
48 "properties": {
49 "id": {
50 "type": "integer"
51 },
52 "deliveryId": {
53 "type": "string",
54 "description": "UUID for tracking this delivery attempt."
55 },
56 "event": {
57 "type": "string",
58 "description": "Event type that triggered the delivery."
59 },
60 "url": {
61 "type": "string",
62 "format": "uri"
63 },
64 "requestBody": {
65 "type": "string"
66 },
67 "responseCode": {
68 "type": "integer"
69 },
70 "responseBody": {
71 "type": "string"
72 },
73 "success": {
74 "type": "boolean"
75 },
76 "createdAt": {
77 "type": "string",
78 "format": "datetime"
79 }
80 }
81 }
82 }
83}