For Developers

List Tasks

GET /v2/graph/jobs/:job_id/tasks

Retrieve a list of all Tasks.

Request Parameters

ParameterTypeDescription
job_idstringThe UUID of the desired Job.

Sample Request

axios.get('https://ed.link/api/v2/graph/jobs/00000000-0000-0000-0000-000000000000/tasks', {
    headers: {
        authorization: `Bearer ${integration_access_token}`
    }
});

Sample Response

{
    "$request": "00000000-0000-0000-0000-000000000000",
    "$data": [
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "created_date": "2022-10-21T20:58:12.040Z",
            "updated_date": "2022-10-21T20:58:12.040Z",
            "entity_type": "assignment",
            "event_type": "created",
            "state": "queued",
            "attempts": 0,
            "properties": {},
            "job_id": "00000000-0000-0000-0000-000000000000",
            "integration_id": "00000000-0000-0000-0000-000000000000",
            "data": {
                "assignee_mode": "all",
                "grading_type": "points",
                "title": "Grade 1 Numbers to 20 Workbook",
                "description": "Test assignment",
                "state": "open",
                "due_date": "2022-10-17T17:30:00.000Z",
                "points_possible": 107,
                "submission_types": "text"
            }
        }
    ]
}