full diff

dev.knotless.renameBranch

From
bafyreig6vttgl36ph5bwrfcz2aelnzqj7ym6ing7rtns72t5d673gdj4oa indexed 2026-10-28 21:21 UTC View this version
To
bafyreicd343ux4o7gso523pdbeslu5po7yoyxappnvqkrjs3yv7ajjqwiq indexed 2026-11-04 13:32 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
5 "description": "Makes the new branch where the old one is, points the open pulls into the old one at the new, then deletes the old, as `knotless branch --rename`, MCP's rename_branch, does; never the default branch. As the account logged in to this appview's web pages: directly for the owner, through the repository's gateway for a collaborator, which refuses anyone else.",
5 "description": "Makes the new branch where the old one is, points the open pulls into the old one at the new, then deletes the old, as `knotless branch rename` does; never the default branch. As the account logged in to this appview's web pages: directly for the owner, through the repository's gateway for a collaborator, which refuses anyone else.",
66 "errors": [
77 {
88 "description": "No such repository.",
99 "name": "NotFound"
1010 },
1111 {
1212 "description": "There is no such branch, it is the default branch, the new name is taken, or the gateway refused it.",
1313 "name": "InvalidRequest"
1414 },
1515 {
1616 "description": "No account is logged in to the pages, or its session has ended.",
1717 "name": "AuthenticationRequired"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "name": {
2525 "description": "The branch, without refs/heads/.",
2626 "maxLength": 255,
2727 "type": "string"
2828 },
2929 "repo": {
3030 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
3131 "format": "at-uri",
3232 "type": "string"
3333 },
3434 "to": {
3535 "description": "Its new name.",
3636 "maxLength": 255,
3737 "type": "string"
3838 }
3939 },
4040 "required": [
4141 "repo",
4242 "name",
4343 "to"
4444 ],
4545 "type": "object"
4646 }
4747 },
4848 "output": {
4949 "encoding": "application/json",
5050 "schema": {
5151 "properties": {
5252 "name": {
5353 "description": "The branch, without refs/heads/.",
5454 "type": "string"
5555 },
5656 "sha": {
5757 "description": "The commit it points at, in hex, once made.",
5858 "type": "string"
5959 }
6060 },
6161 "required": [
6262 "name"
6363 ],
6464 "type": "object"
6565 }
6666 },
6767 "type": "procedure"
6868 }
6969 },
7070 "description": "Renames a branch of a repository.",
7171 "id": "dev.knotless.renameBranch",
7272 "lexicon": 1
7373}

Compare other versions