1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.hiddenRef",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Create a hidden ref in a repository",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "repo",
14 "forkRef",
15 "remoteRef"
16 ],
17 "properties": {
18 "repo": {
19 "type": "string",
20 "format": "at-uri",
21 "description": "AT-URI of the repository"
22 },
23 "forkRef": {
24 "type": "string",
25 "description": "Fork reference name"
26 },
27 "remoteRef": {
28 "type": "string",
29 "description": "Remote reference name"
30 }
31 }
32 }
33 },
34 "output": {
35 "encoding": "application/json",
36 "schema": {
37 "type": "object",
38 "required": [
39 "success"
40 ],
41 "properties": {
42 "success": {
43 "type": "boolean",
44 "description": "Whether the hidden ref was created successfully"
45 },
46 "ref": {
47 "type": "string",
48 "description": "The created hidden ref name"
49 },
50 "error": {
51 "type": "string",
52 "description": "Error message if creation failed"
53 }
54 }
55 }
56 }
57 }
58 }
59}