Skip to content

Conversation

@davestgermain
Copy link
Contributor

@davestgermain davestgermain commented Jan 14, 2020

Adds a new courseware API, at /api/courseware/course/{course_id}

It looks substantially the same as the course API, but does not guarantee any backwards compatibility.

This also adds an API for returning sequence metadata, at /api/courseware/sequence/{usage_key} which is the same information from #22707

TNL-7054

@davestgermain davestgermain requested a review from a team January 14, 2020 14:48
@davestgermain davestgermain requested a review from a team as a code owner January 14, 2020 14:48
@davestgermain davestgermain force-pushed the dcs/course-api branch 8 times, most recently from cc4475f to eb63271 Compare January 21, 2020 16:17
@davestgermain davestgermain force-pushed the dcs/course-api branch 4 times, most recently from 5299217 to fce11e3 Compare January 28, 2020 17:02
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The intention is to get all of the required information from the CourseOverview, without having to hit the modulestore. But some of the machinery for instantiating tabs checks other attributes on the course. We could decide whether to add these to the overview, or proxy to the course object.

@davestgermain davestgermain changed the title WIP course metadata API with course tabs Add API to support courseware MFE Jan 28, 2020
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What values can enrollment take?

Copy link
Contributor

@abutterworth abutterworth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@edx-status-bot
Copy link

Your PR has finished running tests. There were no failures.

@davestgermain davestgermain merged commit 4bbdf2e into master Jan 29, 2020
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants