io.atcr.hold.getQuota

Get storage quota information for a user. Calculates total unique blob storage by iterating layer records and deduplicating by digest.

Repository @seamark.cr did:plc:wfj5kyialpmcv2fzk6uqwsln namespace authority
Details · query
Kindquery
Authorityhold.atcr.io
Indexed

Query

query · GET

Parameters

query string

userDid

requiredstring · did

DID of the user to get quota for

Output

application/json

limit

integer

Storage limit in bytes (absent if unlimited)

tier

string

Quota tier name (e.g., 'deckhand', 'bosun', 'quartermaster')

  • maxLength: 32

totalSize

requiredinteger

Total size in bytes of unique blobs

uniqueBlobs

requiredinteger

Number of unique blob digests

userDid

requiredstring · did

DID of the user

Errors

InvalidUserDid

No description in schema.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.