cosmicds / cds-api

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

Return class size when getting class for student/story combination #71

Closed Carifio24 closed 1 year ago

Carifio24 commented 1 year ago

This PR modifies the /class-for-student-story endpoint to return the size of the class (determined by a query on the StudentsClasses table). This is the endpoint that the Hubble app hits to determine which class info. This allows the app to know the size of the class, to use for things like the stage 4 waiting screen. Presumably future stories will be able to make use of this information as well.