org.tangled.git.setDefaultBranch
Set the default branch of this repository
Details · procedure
| Kind | procedure |
|---|---|
| Authority | git.tangled.org |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Set the default branch of this repository",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"branch": {
"description": "Branch name without the refs/heads/ prefix",
"maxLength": 244,
"type": "string"
},
"repo": {
"description": "DID of the repository",
"format": "did",
"type": "string"
}
},
"required": [
"repo",
"branch"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "Version of the refs record after the move",
"format": "cid",
"type": "string"
},
"uri": {
"description": "The repository's org.tangled.git.refs record",
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "org.tangled.git.setDefaultBranch",
"lexicon": 1
}