Skip to content
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

feat: upgrade list_report_downloads api to DRF ( 13th ) #35350

Merged
merged 5 commits into from
Sep 9, 2024

Conversation

awais786
Copy link
Contributor

@awais786 awais786 commented Aug 23, 2024

Issue

verify via postman

  1. Course Role should be set as data_researcher.
  2. You need to waffle.flag as instructor.enable_data_download_v2.
  3. Try this URL in postman as POST.

expected result
{ "downloads": [ { "name": "edx_cs222_2311_anonymized_ids_2024-08-22-1417.csv", "url": "/media/grades/73b48dc910e9bad3fb08a950770c499e1347501d/edx_cs222_2311_anonymized_ids_2024-08-22-1417.csv", "link": "<a href=\"/media/grades/73b48dc910e9bad3fb08a950770c499e1347501d/edx_cs222_2311_anonymized_ids_2024-08-22-1417.csv\">edx_cs222_2311_anonymized_ids_2024-08-22-1417.csv</a>" }, }

Verify via instructor dashboard

  1. select some option from the dropdown and press download report buttton.
  2. It will trigger the celery task to generate csv.

Screenshot 2024-08-23 at 2 34 17 PM

@awais786 awais786 changed the title List report downloads feat: upgrade list_report_downloads api to DRF Aug 23, 2024
@awais786 awais786 requested a review from feanil August 23, 2024 09:48
@awais786 awais786 changed the title feat: upgrade list_report_downloads api to DRF feat: upgrade list_report_downloads api to DRF ( 13th ) Aug 23, 2024
@awais786 awais786 marked this pull request as ready for review September 9, 2024 06:34
@awais786 awais786 merged commit 7292cab into master Sep 9, 2024
49 checks passed
@awais786 awais786 deleted the list_report_downloads branch September 9, 2024 07:54
@edx-pipeline-bot
Copy link
Contributor

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

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX 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.

3 participants