From
bafyreid3xkdn4syxitk7qxhehczrihtkzakqouidzrssvvlejqkeipmasy
indexed 2026-11-13 07:46 UTC
View this version
To
bafyreid3xkdn4syxitk7qxhehczrihtkzakqouidzrssvvlejqkeipmasy
indexed 2026-11-13 07:46 UTC
View this version
Compatibility
backward compatible No changes detected.
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"main": {55
"description": "Get storage quota information for a user. Calculates total unique blob storage by iterating layer records and deduplicating by digest.",66
"errors": [77
{88
"name": "InvalidUserDid"99
}1010
],1111
"output": {1212
"encoding": "application/json",1313
"schema": {1414
"properties": {1515
"limit": {1616
"description": "Storage limit in bytes (absent if unlimited)",1717
"type": "integer"1818
},1919
"tier": {2020
"description": "Quota tier name (e.g., 'deckhand', 'bosun', 'quartermaster')",2121
"maxLength": 32,2222
"type": "string"2323
},2424
"totalSize": {2525
"description": "Total size in bytes of unique blobs",2626
"type": "integer"2727
},2828
"uniqueBlobs": {2929
"description": "Number of unique blob digests",3030
"type": "integer"3131
},3232
"userDid": {3333
"description": "DID of the user",3434
"format": "did",3535
"type": "string"3636
}3737
},3838
"required": [3939
"userDid",4040
"uniqueBlobs",4141
"totalSize"4242
],4343
"type": "object"4444
}4545
},4646
"parameters": {4747
"properties": {4848
"userDid": {4949
"description": "DID of the user to get quota for",5050
"format": "did",5151
"type": "string"5252
}5353
},5454
"required": [5555
"userDid"5656
],5757
"type": "params"5858
},5959
"type": "query"6060
}6161
},6262
"id": "io.atcr.hold.getQuota",6363
"lexicon": 16464
}