full diff

org.tangled.git.setDefaultBranch

tangled.org +0 −0
From
bafyreihzog5pfo6j6si3puvjoqvwiuuklehuffbvf4spscmoscujpw3cd4 indexed 2026-10-28 14:06 UTC View this version
To
bafyreihzog5pfo6j6si3puvjoqvwiuuklehuffbvf4spscmoscujpw3cd4 indexed 2026-10-28 14:06 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "Set the default branch of this repository",
66 "input": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "branch": {
1111 "description": "Branch name without the refs/heads/ prefix",
1212 "maxLength": 244,
1313 "type": "string"
1414 },
1515 "repo": {
1616 "description": "DID of the repository",
1717 "format": "did",
1818 "type": "string"
1919 }
2020 },
2121 "required": [
2222 "repo",
2323 "branch"
2424 ],
2525 "type": "object"
2626 }
2727 },
2828 "output": {
2929 "encoding": "application/json",
3030 "schema": {
3131 "properties": {
3232 "cid": {
3333 "description": "Version of the refs record after the move",
3434 "format": "cid",
3535 "type": "string"
3636 },
3737 "uri": {
3838 "description": "The repository's org.tangled.git.refs record",
3939 "format": "at-uri",
4040 "type": "string"
4141 }
4242 },
4343 "required": [
4444 "uri",
4545 "cid"
4646 ],
4747 "type": "object"
4848 }
4949 },
5050 "type": "procedure"
5151 }
5252 },
5353 "id": "org.tangled.git.setDefaultBranch",
5454 "lexicon": 1
5555}