1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.diff",
4 "defs": {
5 "main": {
6 "type": "query",
7 "parameters": {
8 "type": "params",
9 "required": ["repo", "ref"],
10 "properties": {
11 "repo": {
12 "type": "string",
13 "description": "Repository identifier in format 'did:plc:.../repoName'"
14 },
15 "ref": {
16 "type": "string",
17 "description": "Git reference (branch, tag, or commit SHA)"
18 }
19 }
20 },
21 "output": {
22 "encoding": "*/*"
23 },
24 "errors": [
25 {
26 "name": "RepoNotFound",
27 "description": "Repository not found or access denied"
28 },
29 {
30 "name": "RefNotFound",
31 "description": "Git reference not found"
32 },
33 {
34 "name": "InvalidRequest",
35 "description": "Invalid request parameters"
36 }
37 ]
38 }
39 }
40}