full diff

dev.knotless.renameRepo

From
bafyreigwhwi4i3l4mkuwthmgq6w4miag726jrikic64rgi7ukpr3rwmxiy indexed 2026-10-28 21:21 UTC View this version
To
bafyreidgeglahnkhzy7xrujmj5xdwapyhdccqzv3mlvqdndhmgloy23rc4 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": "Moves the repository's dev.knotless.repo record to the new name, as `knotless rename` does, leaving a dev.knotless.redirect under the old one, so links and clones by it still lead there. Only its owner, logged in to this appview's web pages, can: the appview writes with the session it keeps for that account, which the pages' session cookie names.",
5 "description": "Moves the repository's dev.knotless.repo record to the new name, as `knotless repo rename` does, leaving a dev.knotless.redirect under the old one, so links and clones by it still lead there. Only its owner, logged in to this appview's web pages, can: the appview writes with the session it keeps for that account, which the pages' session cookie names.",
66 "errors": [
77 {
88 "description": "No such repository.",
99 "name": "NotFound"
1010 },
1111 {
1212 "description": "The name is not one a repository can have, is the one it has, or another repository has 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 "description": "The account logged in is not the repository's owner.",
2121 "name": "Forbidden"
2222 }
2323 ],
2424 "input": {
2525 "encoding": "application/json",
2626 "schema": {
2727 "properties": {
2828 "name": {
2929 "description": "Its new name.",
3030 "maxLength": 100,
3131 "type": "string"
3232 },
3333 "repo": {
3434 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
3535 "format": "at-uri",
3636 "type": "string"
3737 }
3838 },
3939 "required": [
4040 "repo",
4141 "name"
4242 ],
4343 "type": "object"
4444 }
4545 },
4646 "output": {
4747 "encoding": "application/json",
4848 "schema": {
4949 "ref": "dev.knotless.defs#repoMade",
5050 "type": "ref"
5151 }
5252 },
5353 "type": "procedure"
5454 }
5555 },
5656 "description": "Gives a repository a new name.",
5757 "id": "dev.knotless.renameRepo",
5858 "lexicon": 1
5959}

Compare other versions