full diff

dev.knotless.deleteBranch

From
bafyreigwbhkrj6su2omfq2uo22mcbwvsxbmpx3z4qgtyp44s5ye5ebv4rq indexed 2026-10-28 21:21 UTC View this version
To
bafyreia6zlxwr5gxtrnd4axqiwfwfb6afkrag4d2udrv2i27buhyyhnbdu 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": "Deletes a branch, never the default one, as `knotless branch --delete` does. 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": "Deletes a branch, never the default one, as `knotless branch delete` does. 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, 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 },
3535 "required": [
3636 "repo",
3737 "name"
3838 ],
3939 "type": "object"
4040 }
4141 },
4242 "output": {
4343 "encoding": "application/json",
4444 "schema": {
4545 "properties": {
4646 "name": {
4747 "description": "The branch, without refs/heads/.",
4848 "type": "string"
4949 },
5050 "sha": {
5151 "description": "The commit it points at, in hex, once made.",
5252 "type": "string"
5353 }
5454 },
5555 "required": [
5656 "name"
5757 ],
5858 "type": "object"
5959 }
6060 },
6161 "type": "procedure"
6262 }
6363 },
6464 "description": "Deletes a branch of a repository.",
6565 "id": "dev.knotless.deleteBranch",
6666 "lexicon": 1
6767}

Compare other versions