1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.log",
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 "path": {
20 "type": "string",
21 "description": "Path to filter commits by",
22 "default": ""
23 },
24 "limit": {
25 "type": "integer",
26 "description": "Maximum number of commits to return",
27 "minimum": 1,
28 "maximum": 100,
29 "default": 50
30 },
31 "cursor": {
32 "type": "string",
33 "description": "Pagination cursor (commit SHA)"
34 }
35 }
36 },
37 "output": {
38 "encoding": "*/*"
39 },
40 "errors": [
41 {
42 "name": "RepoNotFound",
43 "description": "Repository not found or access denied"
44 },
45 {
46 "name": "RefNotFound",
47 "description": "Git reference not found"
48 },
49 {
50 "name": "PathNotFound",
51 "description": "Path not found in repository"
52 },
53 {
54 "name": "InvalidRequest",
55 "description": "Invalid request parameters"
56 }
57 ]
58 }
59 }
60}