Download Document
Documents
Download Document
GET
Download Document
Issues a 302 Found redirect to a time-limited presigned URL where the translated file can be downloaded. Your HTTP client should follow redirects or read the
Location header.
Description
The route resolves files under thedocuments/{document_id} prefix in object storage. If you omit locale, the service picks a default object (matching the original document name pattern). If you pass locale, it prefers keys whose names include that locale (for example [en-us] in the stored file name).
Failure cases return 404 with a short plain-text message (Document not found., Locale not found., etc.).