upload
upload

Resolve Chat Image Urls

Batch variant of /chat-image-url: mint signed URLs for many private chat-image gs:// refs in ONE round-trip. The message list resolves all visible images at once (was one POST per image, each a separate GCS existence round-trip + auth). The per-object .exists() checks run concurrently in a thread pool so the batch is bounded by the slowest single check, not their sum.

Returns {results: {ref: {url} | {expired: true} | {error: true}}}. Same bucket restriction and per-object expiry semantics as the singular endpoint.

post/api/upload/chat-image-urls

Headers

authorizationstring nullable

Request body

Response

Successful Response

{"stackTrail":"paths:/api/upload/chat-image-urls:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes

No recorded changes to this endpoint across all 1 revision of this API.