Download the "ordered" ZIP archive

Good afternoon all!

When using the /tools/create-archive API call (in async mode, therefore creates a job) I see that the job is successful, but where does one go in order to download the actual zip file? The job reports as successful.

I’ve trudged through the API and I don’t see a path listed to download it?

For reference to anyone else who sees this…

  1. You need to be running Orthanc 1.12.3+ (check the /system API endpoint or Explorer2 UI for the version)
  2. Use a GET call to the /jobs/$JOBID/archive > download.zip API endpoint to download
    1. The optional --output download.zip CURL call can also be used instead of the redirect > download.zip
  3. Use a DELETE call to the /jobs/$JOBID/archive > download.zip API endpoint to delete the generated file

[ref]