full diff

dev.knotless.compactRepo

From
bafyreihu2v5jn3cm2ozj7hkvqroa7ulzw5safjjmxggkqha3cj42ocrk24 indexed 2026-11-02 23:59 UTC View this version
To
bafyreielrbwrlljcp2i5or6uqky6cd6nhc4uptkygxvhqyj5tasitojezm 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": "Repacks what the repository's refs reach into one dev.knotless.pack and deletes the packs it replaces, as `knotless compact` does, with claims a day old. Packs younger than the grace period stay. Its owner can, logged in to this appview's web pages: the appview writes with the session it keeps for that account, which the pages' session cookie names. For an organization's repository, so can an admin who joined it, logged in to the pages or with a service token from their own PDS for this method: the appview's gateway, which the organization delegated its writes to, writes as the organization.",
5 "description": "Repacks what the repository's refs reach into one dev.knotless.pack and deletes the packs it replaces, as `knotless repo compact` does, with claims a day old. Packs younger than the grace period stay. Its owner can, logged in to this appview's web pages: the appview writes with the session it keeps for that account, which the pages' session cookie names. For an organization's repository, so can an admin who joined it, logged in to the pages or with a service token from their own PDS for this method: the appview's gateway, which the organization delegated its writes to, writes as the organization.",
66 "errors": [
77 {
88 "description": "No such repository.",
99 "name": "NotFound"
1010 },
1111 {
1212 "description": "No account is logged in to the pages, or its session has ended.",
1313 "name": "AuthenticationRequired"
1414 },
1515 {
1616 "description": "The account logged in is not the repository's owner.",
1717 "name": "Forbidden"
1818 }
1919 ],
2020 "input": {
2121 "encoding": "application/json",
2222 "schema": {
2323 "properties": {
2424 "repo": {
2525 "description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
2626 "format": "at-uri",
2727 "type": "string"
2828 }
2929 },
3030 "required": [
3131 "repo"
3232 ],
3333 "type": "object"
3434 }
3535 },
3636 "output": {
3737 "encoding": "application/json",
3838 "schema": {
3939 "properties": {
4040 "claims": {
4141 "description": "How many old claims were dropped.",
4242 "minimum": 0,
4343 "type": "integer"
4444 },
4545 "folded": {
4646 "description": "How many of them were folded into one.",
4747 "minimum": 0,
4848 "type": "integer"
4949 },
5050 "packs": {
5151 "description": "How many packs it had.",
5252 "minimum": 0,
5353 "type": "integer"
5454 },
5555 "refs": {
5656 "description": "How many records of deleted refs were dropped, each left with no target by a client from before a delete removed them.",
5757 "minimum": 0,
5858 "type": "integer"
5959 }
6060 },
6161 "required": [
6262 "packs",
6363 "folded",
6464 "claims"
6565 ],
6666 "type": "object"
6767 }
6868 },
6969 "type": "procedure"
7070 }
7171 },
7272 "description": "Folds a repository's packs into one.",
7373 "id": "dev.knotless.compactRepo",
7474 "lexicon": 1
7575}

Compare other versions