net.atchan.media.getThumbnail

Get a thumbnail rendered from an image blob of a post embed.

Repository @atchan.net did:plc:vshgahazzq7qwvp2xc6ai27o namespace authority
Details · query
Kindquery
Authoritymedia.atchan.net
Commit rev3n2pc2ac6lc2k
Indexed

Showing version bafyreihg3psc3pzftns3vcxothmihc5biz257hoonc2k5rg2yg733w4zyi. Show the latest

Query

query · GET

Parameters

query string

cid

requiredstring · cid

The CID of the blob.

did

requiredstring · did

The DID of the account whose repo holds the blob.

format

string

Requested thumbnail image format; the formats are listed best to worst. Defaults to webp.

  • default: "webp"
  • enum: jxl | avif | webp

Output

image/*

Errors

BlobNotFound

atchan has not indexed a post embedding this blob.

Similar lexicons

semantic match

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

  • Get the full-size image blob of a post embed, proxied from the author's PDS and cached. Only blobs atchan has indexed from a post embed are served.

  • Get the video blob of a post embed. Supports HTTP range requests.

  • Get a spectrogram image drawn from an audio blob of a post embed. Falls back to a placeholder image when the audio can't be drawn.

  • Get the audio of a post embed, proxied from the author's PDS and cached.

  • 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.