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

upgrade get_student_enrollment_status api with DRF #35070

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

upgrade get_student_enrollment_status api with DRF #35070

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

Comments

@awais786
Copy link
Contributor

awais786 commented Jul 2, 2024

existing API code

Things to implement.

  1. Use DRF to upgrade this API.
  2. Use the standard edx-platform authentication.
  3. Maintain existing behaviour and status codes.

verify with postman

1: Use this URL with post request. ( pass your valid course id )
2. Pass form-data unique_student_identifier= username

expected result
{ "course_id": "course-v1:edx+cs222+2311", "error": "", "enrollment_status": "Enrollment status for admin: active" }

end to end testing

  1. Go to instructor page and data download tab. Using tutor use this link ( your valid course id )
  2. Go to View a specific learner's enrollment status and pass the username and click on view enrollment status

Screenshot 2024-08-09 at 3 08 28 PM
@awais786 awais786 changed the title get_student_enrollment_status upgrade get_student_enrollment_status api with DRF Aug 9, 2024
@awais786 awais786 self-assigned this Sep 10, 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