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

update get_issued_certificates to DRF #35062

Open
Tracked by #35057
awais786 opened this issue Jul 2, 2024 · 0 comments
Open
Tracked by #35057

update get_issued_certificates to DRF #35062

awais786 opened this issue Jul 2, 2024 · 0 comments
Assignees

Comments

@awais786
Copy link
Contributor

awais786 commented Jul 2, 2024

Testing step via postman

  1. Use this URL in postman for post

expected result

{
    "certificates": [
        {
            "course_id": "course-v1:edx+cs201+2023",
            "mode": "audit",
            "total_issued_certificate": 1,
            "report_run_date": "September 25, 2024"
        }
    ],
    "queried_features": [
        "course_id",
        "mode",
        "total_issued_certificate",
        "report_run_date"
    ],
    "feature_names": {
        "course_id": "CourseID",
        "mode": "Certificate Type",
        "total_issued_certificate": "Total Certificates Issued",
        "report_run_date": "Date Report Run"
    }
}

You can pass the ?csv=false or ?csv=true to get the csv file.


Test via dashboard.

  1. Go to this page user your course id.
  2. select certificate tab.
Screenshot 2024-09-25 at 12 30 37 PM

This works with POST and GET both.

@awais786 awais786 changed the title get_issued_certificates to DRF update get_issued_certificates to DRF Aug 23, 2024
@awais786 awais786 self-assigned this Sep 25, 2024
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

No branches or pull requests

1 participant