getting ArchiveJob results

Request:
curl http://localhost:8042/studies/b920e75a-c2457a9a-d3c2034a-dc062623-071469f3/media -d ‘{“Priority”:9,“Asynchronous”:true}’

Check the Job:

curl http://localhost:8042/jobs/f3881a6f-5c1a-44f7-b54b-130bb88cef46

“State” : “Success”,
“Timestamp” : “20201001T054108.090095”,
“Type” : “Media”

Here is the question now:

Should I use jobs/…/archive to get the results ?
It seems so there is no “media” output for “Media” type of job:

curl http://localhost:8042/jobs/f3881a6f-5c1a-44f7-b54b-130bb88cef46/media

“Details” : “Job has no such output: media”,

Hello,

You must access “archive”, and not “media”.

Both the job the generate a ZIP archive, and the job to generate a DICOMDIR media, use the same “archive” URI, as described in the Orthanc Book:
https://book.orthanc-server.com/users/advanced-rest.html#example-asynchronous-generation-of-an-archive

So, the correct call is:

$ curl http://localhost:8042/jobs/f3881a6f-5c1a-44f7-b54b-130bb88cef46/archive

Sébastien-