chat
Get Attachment Thumbnail
Get a sized thumbnail URL for a chat message attachment.
Lazy uploads base64 attachment to storage on first request, then mints a sized image URL (assets Worker on R2, else imgproxy) for efficient mobile display. Falls back to a raw signed URL if minting fails.
Authentication: JWT required RLS: User must have access to the message
get/chat/messages/{message_id}/attachment/thumbnail
Request
- Base URLhttps://api.projectindi.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
message_idstring required
Query parameters
indexinteger
Attachment index (default: first)
widthinteger
Thumbnail width
heightinteger nullable
Thumbnail height (omit for a square: height = width)
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 2 revisions of this API.