For Developers

Update Job

PATCH https://ed.link/api/v2/graph/jobs/:job_id

Start the tasks in a job running Job.

Request Parameters

ParameterTypeDescription
job_idstringThe UUID of the desired Job.

Request Body

The request body should contain the following properties to start the job

{
    "state": "queued"
}

Sample Request

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

Sample Response

{
    "$request": "00000000-0000-0000-0000-000000000000",
    "$data": {
        "id": "00000000-0000-0000-0000-000000000000",
        "created_date": "2022-10-24T17:07:33.987Z",
        "updated_date": "2022-10-24T17:12:01.242Z",
        "heartbeat_date": "2022-10-24T17:07:33.987Z",
        "state": "queued",
        "properties": {},
        "integration_id": "00000000-0000-0000-0000-000000000000",
        "link_id": null
    }
}