puffproject / course-management

Backend microservice for managing courses, assignments and user actions in the puff platform.
MIT License
1 stars 0 forks source link

Flatten the course attribute endpoint into object #7

Closed benjaminkostiuk closed 3 years ago

benjaminkostiuk commented 3 years ago

Currently the course attribute endpoints returns a pageable list of attributes for a course. This is difficult for the frontend to consume. Additionally there is no real reason to support an infinite number of attribute names and values.

Convert the api to a flat object that can be returned instead. We'll still assume that all mandatory information is returned in the inital /course api call.