A vibe coded tangled fork which supports pijul.
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.changeGet",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "Get details of a specific Pijul change",
8 "parameters": {
9 "type": "params",
10 "required": ["repo", "hash"],
11 "properties": {
12 "repo": {
13 "type": "string",
14 "description": "Repository identifier in format 'did:plc:.../repoName'"
15 },
16 "hash": {
17 "type": "string",
18 "description": "Change hash to retrieve"
19 }
20 }
21 },
22 "output": {
23 "encoding": "application/json",
24 "schema": {
25 "type": "object",
26 "required": ["hash", "authors", "message"],
27 "properties": {
28 "hash": {
29 "type": "string",
30 "description": "Change hash (base32 encoded)"
31 },
32 "authors": {
33 "type": "array",
34 "items": {
35 "type": "ref",
36 "ref": "#author"
37 }
38 },
39 "message": {
40 "type": "string",
41 "description": "Change description"
42 },
43 "timestamp": {
44 "type": "string",
45 "format": "datetime",
46 "description": "When the change was recorded"
47 },
48 "dependencies": {
49 "type": "array",
50 "items": {
51 "type": "string"
52 },
53 "description": "Hashes of changes this change depends on"
54 },
55 "diff": {
56 "type": "string",
57 "description": "Raw diff content of the change"
58 }
59 }
60 }
61 },
62 "errors": [
63 {
64 "name": "RepoNotFound",
65 "description": "Repository not found or access denied"
66 },
67 {
68 "name": "ChangeNotFound",
69 "description": "Change not found"
70 },
71 {
72 "name": "InvalidRequest",
73 "description": "Invalid request parameters"
74 }
75 ]
76 },
77 "author": {
78 "type": "object",
79 "required": ["name"],
80 "properties": {
81 "name": {
82 "type": "string"
83 },
84 "email": {
85 "type": "string"
86 }
87 }
88 }
89 }
90}