cosmicds / cds-api

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

Modify dashboard group classes endpoint to return class data #94

Closed Carifio24 closed 1 year ago

Carifio24 commented 1 year ago

This PR updates the /dashboard-group-classes endpoint introduced in #93 to return the data for each class, rather than just its ID.

The new format of a successful request will be

{
    classes: [<class_1_data>, <class_2_data>]
}

where each class data object will have the id and name, etc.

CC @johnarban