full diff

dev.knotless.getAccountData

From
bafyreiaqglilvxvelym6bobioa5z5cgqxdqhs74x2mzhax4omszsa7agxu indexed 2026-10-28 21:21 UTC View this version
To
bafyreiask5clcxku4fkqklhwy4zv3c2kaqxzfmjegnx3xi32a3clzcgiza 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 "collectionCount": {
55 "description": "How many records the account holds in one collection.",
66 "properties": {
77 "collection": {
88 "description": "The collection, as dev.knotless.issue.",
99 "format": "nsid",
1010 "type": "string"
1111 },
1212 "count": {
1313 "description": "How many records it holds there.",
1414 "minimum": 0,
1515 "type": "integer"
1616 }
1717 },
1818 "required": [
1919 "collection",
2020 "count"
2121 ],
2222 "type": "object"
2323 },
2424 "main": {
25 "description": "Counts the records the asking account holds in each dev.knotless.* collection, read from its PDS rather than the index, and names its repositories, public and private, with how many other accounts push to or read each: what dev.knotless.deleteAccountData would delete, as `knotless delete-data` lists it. A private repository's records are in its space, counted as one space. Only the account itself, logged in to this appview's web pages, can ask: the appview reads its spaces with the session it keeps for it, which the pages' session cookie names.",
25 "description": "Counts the records the asking account holds in each dev.knotless.* collection, read from its PDS rather than the index, and names its repositories, public and private, with how many other accounts push to or read each: what dev.knotless.deleteAccountData would delete, as `knotless account delete-data` lists it. A private repository's records are in its space, counted as one space. Only the account itself, logged in to this appview's web pages, can ask: the appview reads its spaces with the session it keeps for it, which the pages' session cookie names.",
2626 "errors": [
2727 {
2828 "description": "No account is logged in to the pages, or its session has ended.",
2929 "name": "AuthenticationRequired"
3030 }
3131 ],
3232 "output": {
3333 "encoding": "application/json",
3434 "schema": {
3535 "properties": {
3636 "collections": {
3737 "description": "Each dev.knotless.* collection the account holds records in, in the order of their names.",
3838 "items": {
3939 "ref": "#collectionCount",
4040 "type": "ref"
4141 },
4242 "type": "array"
4343 },
4444 "did": {
4545 "description": "The account.",
4646 "format": "did",
4747 "type": "string"
4848 },
4949 "repos": {
5050 "description": "The account's repositories, public ones first, each by name.",
5151 "items": {
5252 "ref": "#repoData",
5353 "type": "ref"
5454 },
5555 "type": "array"
5656 },
5757 "spaces": {
5858 "description": "The spaces the account owns for private repositories: one for each, and one for each name a rename of one left.",
5959 "minimum": 0,
6060 "type": "integer"
6161 }
6262 },
6363 "required": [
6464 "did",
6565 "collections",
6666 "repos",
6767 "spaces"
6868 ],
6969 "type": "object"
7070 }
7171 },
7272 "type": "query"
7373 },
7474 "repoData": {
7575 "description": "One of the account's repositories, and how many other accounts it concerns.",
7676 "properties": {
7777 "collaborators": {
7878 "description": "The other accounts its record lets push to it.",
7979 "minimum": 0,
8080 "type": "integer"
8181 },
8282 "members": {
8383 "description": "For a private one, the other accounts that read it, its runners left out.",
8484 "minimum": 0,
8585 "type": "integer"
8686 },
8787 "name": {
8888 "description": "Its name, its dev.knotless.repo record's key.",
8989 "maxLength": 100,
9090 "type": "string"
9191 },
9292 "private": {
9393 "description": "Whether it is private, in a space of its own.",
9494 "type": "boolean"
9595 }
9696 },
9797 "required": [
9898 "name",
9999 "private",
100100 "collaborators"
101101 ],
102102 "type": "object"
103103 }
104104 },
105105 "description": "What knotless data the asking account holds, before it deletes it.",
106106 "id": "dev.knotless.getAccountData",
107107 "lexicon": 1
108108}

Compare other versions