For Developers

Get Task

GET https://ed.link/api/v2/graph/jobs/:job_id/tasks/:task_id

Retrieve information about a specifc Task.

Request Parameters

ParameterTypeDescription
job_idstringThe UUID of the desired Job.
task_idstringThe UUID of the desired Task.

Sample Request

axios.get('https://ed.link/api/v2/graph/jobs/00000000-0000-0000-0000-000000000000/tasks/00000000-0000-0000-0000-000000000000', {
    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",
            "class_id": "00000000-0000-0000-0000-000000000000",
            "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"
        }
    }
}