Check job state

Overview

Detailed instructions how Check job state.

Step-by-step guide

  1. Using this url with a GET request you will retrieve the state of a certain JOB.

    INDEX_SERVICE_URL/services/jobs/INDEX_TOKEN/JOB_ID


    You can get the following states:

    • SUCCESS : The JOB has finished OK
    • FAILURE : A problem occurs
    • QUEUED : The job is queued, waiting for other job to finish.
    • RUNNING : The JOB has not finished yet.

    [
    {
        id: "554075bee4b0950771fea45f",
        clientId: "testclient",
        feedId: "testfeedid",
        fileId: "autogenerated-id",
        state: "SUCCESS",
        date: "Apr 29, 2015 8:10:06 AM",
        metrics: {
            rTime: 590,
            wTime: 7322,
            tTime: 9117,
            wProcessed: 22511,
            rProcessed: 22511
        }
    }
    ]