social.colibri.beta.polyfill.getBlob

Returns the bytes of a blob the requesting user stored with the AppView, so a migration can upload it to their PDS.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · query
Kindquery
Authoritypolyfill.beta.colibri.social
Commit rev3n2beo2am4d22
Indexed

Query

query · GET

Parameters

query string

cid

requiredstring · cid

The CID of the record or blob.

Output

*/*

Errors

AuthRequired

The request has no valid service auth.

InvalidRequest

The arguments are inconsistent or malformed beyond schema validation.

BlobNotFound

The caller has no blob with this CID.

Similar lexicons

semantic match

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

  • Get a blob by its CID from temporary R2 storage. Returns the raw binary content. The authenticated user's temporary blob is retrieved using their DID and the provided CID.

  • Get a blob associated with a given account. Returns the full blob as originally uploaded. Does not require auth; implemented by PDS.

  • Serves a blob from a permissioned space through the AppView, which holds the space credential the client does not. Every byte is verified against the CID before it is served, and the content type is sniffed rather than trusted. Supports HTTP range requests.

  • The mirror's copy of a published version's archive. The caller verifies the bytes against the CID, as it would the PDS's.

  • Stores a blob for the requesting user while the AppView hosts their space repos. A blob nothing references within a day is deleted.