List studies bu upload date

Hello,

i need to check what studies where uploaded to my ORTHANC server on specific date. Unfortunately those studies were made on diffirent dates so "date of study" is not a solution.

is it possible using rest api ?

Greetings.

Krzysiek

Hello,

You can extract that info from metadata (LastUpdate):
Example:
http://localhost:8042/studies/c777fcea-669d2271-392fc367-36b141b8-448fac66/metadata/LastUpdate

Yes but than i need to first know the studyID.

I need to FIND all studies by upload date. My database has got thousands of studies now so i don’t want to crawl through all of them to extract info and than sort it.

Hello,

Metadata is not indexed in the Orthanc database (it is only stored), so you’ll have to crawl through all of the studies.

It should not be a big deal to create a side database if you need to routinely access such information. This side database could be continuously updated by monitoring the “/changes” API:
https://book.orthanc-server.com/users/rest.html#tracking-changes

Sébastien-

Thank you - i didn’t think about option of second database - great idea.

Regards