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 list_entrance_exam_instructor_tasks to DRF #35232

Closed
Tracked by #35057
awais786 opened this issue Aug 6, 2024 · 0 comments
Closed
Tracked by #35057

update list_entrance_exam_instructor_tasks to DRF #35232

awais786 opened this issue Aug 6, 2024 · 0 comments
Assignees

Comments

@awais786
Copy link
Contributor

awais786 commented Aug 6, 2024

list_entrance_exam_instructor_tasks API

How to enable entrance exams for course.

Testing steps:

  1. go to this page on instructor page.
  2. Adjust a learner's entrance exam results ( pass student id ) and press reset attempts to zero.
  3. now at bottom press tasks results Show the status for the rescoring tasks that you submitted for this learner and entrance exam..
Screenshot 2024-07-31 at 4 17 52 PM

Postman api
http://local.edly.io:8000/courses/course-v1:edx+cs222+2311/instructor/api/list_entrance_exam_instructor_tasks
Body params
unique_student_identifier as key and student email as value

Expected results

{
    "tasks": [
        {
            "task_type": "reset_problem_attempts",
            "task_input": "{\"entrance_exam_url\": \"block-v1:edx+cs222+2311+type@chapter+block@9b2ef4ddf799482da311e9b10122ec8a\", \"student\": \"admin\"}",
            "task_id": "c71f3e80-1e31-4c29-99ad-a18c4ca42b62",
            "requester": "admin",
            "task_state": "SUCCESS",
            "created": "2024-07-31T11:03:53.649745+00:00",
            "duration_sec": 0,
            "status": "Incomplete",
            "task_message": "Unable to find entrance exam submission to be reset for student 'admin'"
        },
        {
            "task_type": "reset_problem_attempts",
            "task_input": "{\"entrance_exam_url\": \"block-v1:edx+cs222+2311+type@chapter+block@9b2ef4ddf799482da311e9b10122ec8a\", \"student\": \"admin\"}",
            "task_id": "1204f407-5863-4935-bba5-f288078dac43",
            "requester": "admin",
            "task_state": "SUCCESS",
            "created": "2024-07-31T10:55:30.726424+00:00",
            "duration_sec": 0,
            "status": "Incomplete",
            "task_message": "Unable to find entrance exam submission to be reset for student 'admin'"
        }
    ]
}
@awais786 awais786 self-assigned this Aug 6, 2024
@awais786 awais786 closed this as completed Aug 6, 2024
@awais786 awais786 changed the title List_entrance_exam_instructor_tasks update list_entrance_exam_instructor_tasks to DRF Aug 23, 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