/studies "since" & "limit" help

Do the “since” and “limit” query parameters work on /studies /series /instances /patients ?

On /studies I always get “Bad Request”, tried /studies?expand&limit=10, tried /studies?limit=10 all return bad request.

Yes, “since” and “limit” are supported, but they must be present simultaneously. Try the following syntax at the command-line:

curl ‘http://localhost:8042/instances?since=0&limit=5&expand

This also works at patient, study or series levels.

Sébastien-

That works, however I was under the impression “since” was for a dateTime. Will an option for filtering fromDate and toDate be added? I feel this is essential if one will work with large datasets of studies, same goes for a patientName.

This feature can be implemented as a plugin as of today:
https://github.com/jodogne/OrthancContributed/tree/master/Plugins