dev.knotless.getRepoStorage
What a repository's packs take up on its owner's PDS, as `knotless repo storage` counts them: counted again only once a write to the repository's packs, claims or refs is seen (for a private one, once a sync of its space finds a write there), or compaction from these pages folds them. Apart from dev.knotless.getRepoSettings, as counting reads every pack record from the PDS.
Details · query
| Kind | query |
|---|---|
| Authority | knotless.dev |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "What a repository's packs take up on its owner's PDS, as `knotless repo storage` counts them: counted again only once a write to the repository's packs, claims or refs is seen (for a private one, once a sync of its space finds a write there), or compaction from these pages folds them. Apart from dev.knotless.getRepoSettings, as counting reads every pack record from the PDS.",
"errors": [
{
"description": "No such repository.",
"name": "NotFound"
},
{
"description": "Its owner's PDS could not be read.",
"name": "UpstreamFailure"
}
],
"output": {
"encoding": "application/json",
"schema": {
"ref": "dev.knotless.getRepoSettings#storageView",
"type": "ref"
}
},
"parameters": {
"properties": {
"repo": {
"description": "The repository's dev.knotless.repo record, as dev.knotless.getRepo takes it.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"repo"
],
"type": "params"
},
"type": "query"
}
},
"description": "What a repository takes up on its owner's PDS.",
"id": "dev.knotless.getRepoStorage",
"lexicon": 1
}