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 list_instructor_tasks to DRF #35114

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

Upgrade list_instructor_tasks to DRF #35114

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

Comments

@awais786
Copy link
Contributor

awais786 commented Jul 12, 2024

Upgrading API

verify via Postman

  1. use this URL as post method in postman.
  2. You can post this without any data and get all the task or you can do the following 3rd step for specific test purpose.
  3. form-data ( these are optional params )

unique_student_identifier = student-id
problem_location_str = block-v1:edx+cs201+2023+type@drag-and-drop-v2+block@f20140b461814222bbe3a0617b2a532b ( you can use the inspect element to pick the problem id from site.

expected result
You need some data in instructor tasks table for this.

{
    "tasks": [
        {
            "task_type": "may_enroll_info_csv",
            "task_input": "{\"features\": [\"email\"]}",
            "task_id": "c058529e-095e-450c-9ff5-2fa53c7df1ed",
            "requester": "admin",
            "task_state": "SUCCESS",
            "created": "2024-08-19T18:00:12.070978+00:00",
            "duration_sec": 0,
            "status": "Incomplete",
            "task_message": "Status: generated 2 of 2 (out of 1)"
        }
    ]
}

Verify via intructor dashboard-datadownload

  1. Go to this URL
Screenshot 2024-08-21 at 4 21 31 PM
@awais786 awais786 changed the title List_instructor_tasks list_instructor_tasks Jul 12, 2024
@awais786 awais786 changed the title list_instructor_tasks feat: Upgrade list_instructor_tasks to DRF Aug 20, 2024
@awais786 awais786 self-assigned this Aug 21, 2024
@awais786 awais786 changed the title feat: Upgrade list_instructor_tasks to DRF Upgrade list_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