full diff

net.atchan.media.getThumbnail

atchan.net +5 −1
From
bafyreihg3psc3pzftns3vcxothmihc5biz257hoonc2k5rg2yg733w4zyi indexed 2026-11-20 00:05 UTC View this version
To
bafyreigp42v7robgjddj6mo5ngqcltkbzr5guvkbeesqbsqla6pors5yle indexed 2026-11-25 03:24 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 a thumbnail rendered from an image blob of a post embed.",
66 "errors": [
77 {
8 "description": "atchan has not indexed a post embedding this blob.",
8 "description": "atchan has not indexed a post embedding this blob or it does not exist.",
99 "name": "BlobNotFound"
10 },
11 {
12 "description": "This server can't encode thumbnails in the requested format.",
13 "name": "UnsupportedFormat"
1014 }
1115 ],
1216 "output": {
1317 "encoding": "image/*"
1418 },
1519 "parameters": {
1620 "properties": {
1721 "cid": {
1822 "description": "The CID of the blob.",
1923 "format": "cid",
2024 "type": "string"
2125 },
2226 "did": {
2327 "description": "The DID of the account whose repo holds the blob.",
2428 "format": "did",
2529 "type": "string"
2630 },
2731 "format": {
2832 "default": "webp",
2933 "description": "Requested thumbnail image format; the formats are listed best to worst. Defaults to webp.",
3034 "enum": [
3135 "jxl",
3236 "avif",
3337 "webp"
3438 ],
3539 "type": "string"
3640 }
3741 },
3842 "required": [
3943 "did",
4044 "cid"
4145 ],
4246 "type": "params"
4347 },
4448 "type": "query"
4549 }
4650 },
4751 "id": "net.atchan.media.getThumbnail",
4852 "lexicon": 1
4953}

Compare other versions