projects/{pid}/workflows/{did}/files/{trg}/file
Download the deliverable (translated file) of a workflow.
Please do so under the following conditions only:
The workflow status is either “Work finished” or “Work delivered”. Refer to Get Workflow Status to confirm. With any status other than these, the work is incomplete, and the translated file is likely not saved to the project yet.
The workflow status API confirms the existence of the deliverable. Verify the
file.exists
property via projects/{pid}/workflows/{did}/status/{trg} to ensure the file is ready for download.
URL
(GET) /api/projects/{pid}/workflows/{did}/files/{trg}/file
PARAMETERS
The URL parameters are:
pid | The project ID | int, Mandatory |
did | The document ID | int, Mandatory |
trg | The target language code | string, Mandatory |
RESULTS
Returns the binary data of the file.
If the file does not exist, it returns an error.