Download a Document
Changed onExport a Document that has been translated in the Lilt web application. Any Document can be downloaded in XLIFF 1.2 format, or can be retrieved in its original uploaded format by setting is_xliff=false. This endpoint will fail if either (a) export or (b) pre-translation operations are in-progress. The status of those operations can be determined by retrieving the Document resource. Example CURL command:
curl -X GET https://api.lilt.com/v2/documents/files?key=API_KEY&id=274 -o from_lilt.xliff
Request
- Base URLhttps://api.lilt.com
- URLhttps://api.lilt.com/v2/documents/files
- AuthHTTP basic
Query parameters
An unique Document identifier.
Download the document in XLIFF 1.2 format.
Response
A file.
Changes
- breaking
added the new required
queryrequest parameterid - info
api operation id
downloadDocumentwas added - info
added the new optional
queryrequest parameteris_xliff - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the success response with the status
- breaking