full diff

dev.knotless.blockActor

From
bafyreiakigrsr7rwunbqxcwjmir2nexf2g7s5dexmnynrvn4cgglwih6e4 indexed 2026-10-28 21:21 UTC View this version
To
bafyreibjcscquyrq72lhkcs52velc2464kli6goqzmgkxhhe3fxhg3frsi 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 "block": {
55 "description": "Whom to block, and from what.",
66 "properties": {
77 "repo": {
88 "description": "The one repository to block it from, by its dev.knotless.repo record: one of the asker's own. All of them when absent.",
99 "format": "at-uri",
1010 "type": "string"
1111 },
1212 "subject": {
1313 "description": "The account to block, by DID or handle.",
1414 "format": "at-identifier",
1515 "type": "string"
1616 }
1717 },
1818 "required": [
1919 "subject"
2020 ],
2121 "type": "object"
2222 },
2323 "blockState": {
2424 "description": "Whether the account is blocked now, from what was asked.",
2525 "properties": {
2626 "blocking": {
2727 "description": "Whether it is blocked now.",
2828 "type": "boolean"
2929 },
3030 "subject": {
3131 "description": "The account.",
3232 "format": "did",
3333 "type": "string"
3434 }
3535 },
3636 "required": [
3737 "subject",
3838 "blocking"
3939 ],
4040 "type": "object"
4141 },
4242 "main": {
43 "description": "Writes a dev.knotless.block record in the account logged in to this appview's web pages, as `knotless block` does, unless one is there already: nothing the account blocked writes about its repositories, or about the one repository named, shows. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.",
43 "description": "Writes a dev.knotless.block record in the account logged in to this appview's web pages, as `knotless mod block` does, unless one is there already: nothing the account blocked writes about its repositories, or about the one repository named, shows. Requires the session cookie the pages' login sets: the appview writes with the session it keeps for that account. Clients holding their own session write the record themselves.",
4444 "errors": [
4545 {
4646 "description": "The account is the one asking, or the repository is not its own.",
4747 "name": "InvalidRequest"
4848 },
4949 {
5050 "description": "No such account.",
5151 "name": "NotFound"
5252 },
5353 {
5454 "description": "No account is logged in to the pages, or its session has ended.",
5555 "name": "AuthenticationRequired"
5656 }
5757 ],
5858 "input": {
5959 "encoding": "application/json",
6060 "schema": {
6161 "ref": "#block",
6262 "type": "ref"
6363 }
6464 },
6565 "output": {
6666 "encoding": "application/json",
6767 "schema": {
6868 "ref": "#blockState",
6969 "type": "ref"
7070 }
7171 },
7272 "type": "procedure"
7373 }
7474 },
7575 "description": "Blocks an account as the account logged in to this appview's pages.",
7676 "id": "dev.knotless.blockActor",
7777 "lexicon": 1
7878}

Compare other versions