{
"id": "io.atcr.hold.getQuota",
"defs": {
"main": {
"type": "query",
"errors": [
{
"name": "InvalidUserDid"
}
],
"output": {
"schema": {
"type": "object",
"required": [
"userDid",
"uniqueBlobs",
"totalSize"
],
"properties": {
"tier": {
"type": "string",
"maxLength": 32,
"description": "Quota tier name (e.g., 'deckhand', 'bosun', 'quartermaster')"
},
"limit": {
"type": "integer",
"description": "Storage limit in bytes (absent if unlimited)"
},
"userDid": {
"type": "string",
"format": "did",
"description": "DID of the user"
},
"totalSize": {
"type": "integer",
"description": "Total size in bytes of unique blobs"
},
"uniqueBlobs": {
"type": "integer",
"description": "Number of unique blob digests"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"userDid"
],
"properties": {
"userDid": {
"type": "string",
"format": "did",
"description": "DID of the user to get quota for"
}
}
},
"description": "Get storage quota information for a user. Calculates total unique blob storage by iterating layer records and deduplicating by digest."
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}
Metadata
- DID
-
did:plc:wfj5kyialpmcv2fzk6uqwsln
- CID
-
bafyreid3xkdn4syxitk7qxhehczrihtkzakqouidzrssvvlejqkeipmasy
- Indexed At
- 2026-02-13 13:56 UTC
- AT-URI
-
at://did:plc:wfj5kyialpmcv2fzk6uqwsln/com.atproto.lexicon.schema/io.atcr.hold.getQuota