-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Add API to support courseware MFE #22848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cc4475f to
eb63271
Compare
5299217 to
fce11e3
Compare
There was a problem hiding this comment.
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.
fce11e3 to
40a22ba
Compare
40a22ba to
00753ec
Compare
There was a problem hiding this comment.
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
00753ec to
1aa8c9c
Compare
|
Your PR has finished running tests. There were no failures. |
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
|
EdX Release Notice: This PR has been deployed to the production environment. |
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 #22707TNL-7054