aces / Loris

LORIS is a web-accessible database solution for longitudinal multi-site studies.
GNU General Public License v3.0
141 stars 173 forks source link

[dataquery] Add ability to retrieve results of previous run from API #9301

Open driusan opened 2 weeks ago

driusan commented 2 weeks ago

This implements the endpoint that is listed as "aspirational" in the dataquery api schema to load the results of a previously run query.

It was originally left out for fear of performance issues but with this implementation performance seems to be comparable to without it.

This does not implement a frontend to reload query results, but the API functionality is useful for i.e. api callbacks that want to process the results of a query without the need to re-run it (and the possibility to get different results.)