Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Download the deliverable (translated file) of a workflow. This should only be done if

Please do so under the following conditions only:

  • The workflow status is either “Work finished” or “Work delivered”. See Refer to Get Workflow Status to confirm. With any status other statusthan these, the work is not completed incomplete, and the translated file is likely not yet saved to the project yet.

  • The workflow status API shows that confirms the existence of the deliverable does exist. Check Verify the file.exists property in via projects/{pid}/workflows/{did}/status/{trg} to ensure the file is ready for download.

URL

Code Block
(GET) /api/projects/{pid}/workflows/{did}/files/{trg}/file

...

Returns the binary data of the file.

Returns an error if If the file does not exist, it returns an error.