eclipse-apoapsis / ort-server

A scalable server implementation of the OSS Review Toolkit.
Apache License 2.0
16 stars 7 forks source link

Add an endpoint to get currently active runs in server instance #1074

Open lamppu opened 1 week ago

lamppu commented 1 week ago

This would allow to get the data needed for the admin view described in https://github.com/eclipse-apoapsis/ort-server/issues/837.

lamppu commented 5 days ago

I could take this on, if it's ok. I wonder though if there will be a need to get runs by other statuses as well, so should this endpoint just be /runs, and it could be filtered with a query parameter like status=active for the use case in the UI issue.