Repository navigation
[API] Home Page Data — schema deprecation of GET /api/contentstore/v1/home #39263
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,14 +5,16 @@ | |
| from drf_spectacular.openapi import AutoSchema | ||
|
|
||
| # Legacy operations superseded by a conforming address under /api/authoring/. | ||
| # Each is listed in the truncated spelling as well as the full one: the routes | ||
| # make the final character optional, so both addresses resolve, and which one | ||
| # the generator emits depends on how it renders that regex. | ||
| # Regex-routed entries are listed in both the truncated and full spellings (the | ||
| # route makes the final character optional, so both addresses resolve, and which | ||
| # the generator emits depends on how it renders that regex). Exact-match entries | ||
| # (path()) appear only once. | ||
| SUPERSEDED_PATHS = ( | ||
| "/api/contentstore/v0/youtube_transcripts/{course_id}/chec", | ||
| "/api/contentstore/v0/youtube_transcripts/{course_id}/check", | ||
| "/api/contentstore/v0/youtube_transcripts/{course_id}/uploa", | ||
| "/api/contentstore/v0/youtube_transcripts/{course_id}/upload", | ||
| "/api/contentstore/v1/home", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we should deprecate this yet. The replacement it points at, The write on GET looks like a small fix: report Can you write the v3 fixes up in #39068 or open a PR for them? And is |
||
| ) | ||
|
|
||
| # Legacy addresses of APIs migrated to /api/authoring/, marked deprecated for | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.