puffproject/course-management

Flatten the course attribute endpoint into object

Closed this issue · 0 comments

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.