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 reset_student_attempts to DRF #35072

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

update reset_student_attempts to DRF #35072

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

Comments

@awais786
Copy link
Contributor

awais786 commented Jul 2, 2024

verify via postman
1: use this URL

form-data

problem_to_reset: block-v1:edx+cs222+23111+type@problem+block@5f501f4c6fc64029bd8b636122df3870

unique_student_identifier: newserviceuser ( this is optional)
delete_module: false (this is optional )
all_students: true (this is optional ) ( required instructor access also )

all_students and unique_student_identifier cannot send together. send one param only

expected result

using unique_student_identifier as param.

{
    "problem_to_reset": "block-v1:edx+cs222+23111+type@problem+block@5f501f4c6fc64029bd8b636122df3870",
    "student": "newserviceuser"
}

using student as param.

{
    "problem_to_reset": "block-v1:edx+cs222+23111+type@problem+block@5f501f4c6fc64029bd8b636122df3870",
    "task": "created",
    "student": "All Students"
}

verify via dashboard.

Go to this page.

Screenshot 2024-08-30 at 6 37 59 PM
@awais786 awais786 changed the title Reset_student_attempts update reset_student_attempts to DRF Aug 23, 2024
@awais786 awais786 self-assigned this Aug 29, 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