cosmicds / cds-api

API for accessing the CosmicDS database
GNU General Public License v3.0
0 stars 3 forks source link

Make stage stages endpoint more flexible #127

Closed Carifio24 closed 3 weeks ago

Carifio24 commented 3 weeks ago

This PR updates the /stage-states endpoint to be more flexible. As there are a lot of possible ways that one could want to query for stage states, I decided that the most straightforward thing to do was to allow using query parameters.

See the comment before the new route for a description of what's returned. @johnarban would this work for what you need for the dashboard?

johnarban commented 3 weeks ago

Thank you! Yes, this looks like it will work