-
Notifications
You must be signed in to change notification settings - Fork 4.2k
feat: 37468/add REST API endpoints for instructor dashboard data downloads #37984
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
Merged
wgu-taylor-payne
merged 42 commits into
openedx:master
from
WGU-Open-edX:wgu-jesse-stewart/37468-datadownloads-get-api
Feb 17, 2026
+1,091
−8
Merged
Changes from 33 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
1963055
feat: adds data downloads get endpoint and generate reports endpoint
wgu-jesse-stewart 62371aa
feat: add _detect_report_type_from_filename
wgu-jesse-stewart c1c406c
feat: add course not found error to data downloads get endpoint
wgu-jesse-stewart 062898c
feat: Problem Responses Report api
wgu-jesse-stewart 3b95bb0
feat: add Certificates Issues report
wgu-jesse-stewart 3a248af
Merge branch 'master' into wgu-jesse-stewart/37468-datadownloads-get-api
wgu-jesse-stewart e372aad
fix: after rebase
wgu-jesse-stewart 418a566
fix: linting
wgu-jesse-stewart b0800a3
fix: code style
wgu-jesse-stewart f1fb716
feat: PR feedback
wgu-jesse-stewart d21ab18
feat: PR feedback
wgu-jesse-stewart e2a1618
Merge branch 'master' into wgu-jesse-stewart/37468-datadownloads-get-api
wgu-jesse-stewart 9cc5c9b
feat: test coverage
wgu-jesse-stewart c95b863
Merge branch 'master' into wgu-jesse-stewart/37468-datadownloads-get-api
wgu-jesse-stewart cd4d7e6
fix: linting
wgu-jesse-stewart 8faa7cb
Merge branch 'master' into wgu-jesse-stewart/37468-datadownloads-get-api
wgu-jesse-stewart aa305a2
Merge branch 'master' into wgu-jesse-stewart/37468-datadownloads-get-api
wgu-jesse-stewart 83900b3
fix: unrelated failing test
wgu-jesse-stewart e7f7981
Merge branch 'wgu-jesse-stewart/37468-datadownloads-get-api' of https…
wgu-jesse-stewart 7922668
fix: tests
wgu-jesse-stewart 7c98eb2
fix: Update test_linkedin.py
wgu-jesse-stewart c629806
fix: Update test_linkedin.py
wgu-jesse-stewart be8d644
fix: Update BlockBrowser.test.jsx.snap
wgu-jesse-stewart 4e5ac0f
fix: Update ReportStatus.test.jsx.snap
wgu-jesse-stewart 5b36f1b
fix: revert test
wgu-jesse-stewart f935f6c
test: separate report api test
wgu-jesse-stewart 0e5e5cb
fix: test
wgu-jesse-stewart 84d155c
fix: lint
wgu-jesse-stewart 430909c
fix: pr feedback
wgu-jesse-stewart 12da5d4
fix: pr feedback
wgu-jesse-stewart af3712a
fix: test
wgu-jesse-stewart 462dd5f
feat: revise tests
wgu-jesse-stewart 99c6694
fix: revert changes
wgu-jesse-stewart 93629b3
fix: pr feedback
wgu-jesse-stewart 2e16f4c
Merge branch 'master' into wgu-jesse-stewart/37468-datadownloads-get-api
wgu-jesse-stewart 9bedf2f
feat: PR feedback
wgu-jesse-stewart 6e842db
fix: linting and tests
wgu-jesse-stewart 381b53b
feat: PR feedback
wgu-jesse-stewart da13c89
feat: ensure v2 api feature parity to v1
wgu-jesse-stewart b604b94
Merge branch 'master' into wgu-jesse-stewart/37468-datadownloads-get-api
wgu-jesse-stewart 99d0b7f
feat: update test
wgu-jesse-stewart 23ca57d
Merge branch 'wgu-jesse-stewart/37468-datadownloads-get-api' of https…
wgu-jesse-stewart File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,29 @@ | ||
| """ | ||
| Constants used by Instructor. | ||
| """ | ||
| from enum import Enum | ||
|
|
||
| # this is the UserPreference key for the user's recipient invoice copy | ||
| INVOICE_KEY = 'pref-invoice-copy' | ||
|
|
||
| # external plugins (if any) will use this constant to return context to instructor dashboard | ||
| INSTRUCTOR_DASHBOARD_PLUGIN_VIEW_NAME = 'instructor_dashboard' | ||
|
|
||
|
|
||
| class ReportType(str, Enum): | ||
| """ | ||
| Enum for report types used in the instructor dashboard downloads API. | ||
| These are the user-facing report type identifiers. | ||
| """ | ||
| ENROLLED_STUDENTS = "enrolled_students" | ||
| PENDING_ENROLLMENTS = "pending_enrollments" | ||
| PENDING_ACTIVATIONS = "pending_activations" | ||
| ANONYMIZED_STUDENT_IDS = "anonymized_student_ids" | ||
| GRADE = "grade" | ||
| PROBLEM_GRADE = "problem_grade" | ||
| PROBLEM_RESPONSES = "problem_responses" | ||
| ORA2_SUMMARY = "ora2_summary" | ||
| ORA2_DATA = "ora2_data" | ||
| ORA2_SUBMISSION_FILES = "ora2_submission_files" | ||
| ISSUED_CERTIFICATES = "issued_certificates" | ||
| UNKNOWN = "unknown" | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.