This repository has no description
1{
2 "lexicon": 1,
3 "id": "org.tangled.temp.repo.listWebhooks",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "List webhooks configured for a repository.",
8 "parameters": {
9 "type": "params",
10 "required": ["repoDid"],
11 "properties": {
12 "repoDid": {
13 "type": "string",
14 "format": "did",
15 "description": "DID of the repository as minted by the knot."
16 }
17 }
18 },
19 "output": {
20 "encoding": "application/json",
21 "schema": {
22 "type": "object",
23 "required": ["webhooks"],
24 "properties": {
25 "webhooks": {
26 "type": "array",
27 "items": {
28 "type": "ref",
29 "ref": "#webhook"
30 }
31 }
32 }
33 }
34 }
35 },
36 "webhook": {
37 "type": "object",
38 "required": ["id", "url", "active", "events", "createdAt"],
39 "properties": {
40 "id": {
41 "type": "integer",
42 "description": "Webhook identifier."
43 },
44 "url": {
45 "type": "string",
46 "format": "uri",
47 "description": "Endpoint URL that receives webhook payloads."
48 },
49 "active": {
50 "type": "boolean",
51 "description": "Whether the webhook is currently enabled."
52 },
53 "events": {
54 "type": "array",
55 "description": "Event types this webhook is subscribed to (e.g. 'push', 'repository:renamed').",
56 "items": {
57 "type": "string"
58 }
59 },
60 "createdAt": {
61 "type": "string",
62 "format": "datetime"
63 },
64 "updatedAt": {
65 "type": "string",
66 "format": "datetime"
67 }
68 }
69 }
70 }
71}