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

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.

  • A photo of a track or review (com.hikeratlas.temp.defs#photo), as an image: a thumbnail, or the photo itself, from its author's PDS through a cache. Only photos of records the indexer has, and hasn't hidden. Served by Hiker Atlas's indexer (https://github.com/hikeratlas/atproto-indexer). In beta: may change.