Skip to content

Add API to support courseware MFE - #22848

Merged
davestgermain merged 1 commit into
masterfrom
dcs/course-api
Jan 29, 2020
Merged

Add API to support courseware MFE#22848
davestgermain merged 1 commit into
masterfrom
dcs/course-api

Conversation

@davestgermain

@davestgermain davestgermain commented Jan 14, 2020

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Comment thread lms/djangoapps/course_api/views.py Outdated

Copy link
Copy Markdown
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?

@abutterworth abutterworth left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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.

5 participants