full diff

dev.knotless.transferRepo

From
bafyreid4mlyal3vzqzklr5kwksfrqxengbpsbzjugf7dddiis5dae3vlhu indexed 2026-10-28 21:21 UTC View this version
To
bafyreibhwphujkbsz2bds3lr32mz6vlamwtegnurclupiko6gk3edzmz6i 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": "Names, in the repository's dev.knotless.repo record, the account and name it is offered to, as `knotless transfer` does, or with no `to` takes the offer back. It moves when that account takes it up (dev.knotless.acceptTransfer). A private repository cannot move. 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": "Names, in the repository's dev.knotless.repo record, the account and name it is offered to, as `knotless repo transfer` does, or with no `to` takes the offer back. It moves when that account takes it up (dev.knotless.acceptTransfer). A private repository cannot move. 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 account is the owner's own, there is no such account, or the repository is private.",
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": "The name it would have there: its own when absent.",
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 "to": {
3939 "description": "The account to offer it to, by handle or DID. Absent, the offer is withdrawn.",
4040 "format": "at-identifier",
4141 "type": "string"
4242 }
4343 },
4444 "required": [
4545 "repo"
4646 ],
4747 "type": "object"
4848 }
4949 },
5050 "output": {
5151 "encoding": "application/json",
5252 "schema": {
5353 "properties": {
5454 "transfer": {
5555 "description": "Where it is offered now; absent once withdrawn.",
5656 "ref": "dev.knotless.defs#repoViewBasic",
5757 "type": "ref"
5858 }
5959 },
6060 "type": "object"
6161 }
6262 },
6363 "type": "procedure"
6464 }
6565 },
6666 "description": "Offers a repository to another account, or withdraws the offer.",
6767 "id": "dev.knotless.transferRepo",
6868 "lexicon": 1
6969}

Compare other versions