this repo has no description
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.archive",
4 "defs": {
5 "main": {
6 "type": "query",
7 "description": "deprecated. use `/{did}/{reponame}/archive/{ref} endpoint instead",
8 "parameters": {
9 "type": "params",
10 "required": ["repo", "ref"],
11 "properties": {
12 "repo": {
13 "type": "string",
14 "description": "Repository identifier in format 'did:plc:.../repoName'"
15 },
16 "ref": {
17 "type": "string",
18 "description": "Git reference (branch, tag, or commit SHA)"
19 },
20 "format": {
21 "type": "string",
22 "description": "Archive format",
23 "enum": ["tar", "zip", "tar.gz", "tar.bz2", "tar.xz"],
24 "default": "tar.gz"
25 },
26 "prefix": {
27 "type": "string",
28 "description": "Prefix for files in the archive"
29 }
30 }
31 },
32 "output": {
33 "encoding": "*/*",
34 "description": "Binary archive data"
35 },
36 "errors": [
37 {
38 "name": "RepoNotFound",
39 "description": "Repository not found or access denied"
40 },
41 {
42 "name": "RefNotFound",
43 "description": "Git reference not found"
44 },
45 {
46 "name": "InvalidRequest",
47 "description": "Invalid request parameters"
48 },
49 {
50 "name": "ArchiveError",
51 "description": "Failed to create archive"
52 }
53 ]
54 }
55 }
56}