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 add_users_to_cohorts to DRF #35066

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

update add_users_to_cohorts to DRF #35066

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.

Test via postman

  1. Use this URL in postman.
  2. upload the csv file.

expected result

it will return 204 as status code.

You need to enable cohorts for the course.

  1. Go to this page
  2. Select cohort from dropdown.
  3. it will load the Assign learners to cohorts by uploading a CSV file.
  4. Upload file.
  5. sample file students_list.csv
Screenshot 2024-10-08 at 2 57 16 PM
@awais786 awais786 changed the title add_users_to_cohorts to DRF update add_users_to_cohorts to DRF Aug 23, 2024
@awais786 awais786 self-assigned this Oct 8, 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