List Jobs - GET /jobs

Return the status of all running and completed jobs.

Example

$ curl 'http://localhost:8080/engine/v2/jobs'

Parameters

skip & take:Defines number of records to skip and take. See Pagination

Returns

The HTTP response contains a JSON formatted document containing an array of job resource objects representing all the jobs, that have been run (or are running) on the server.

If no jobs exist, the response will be of the form:

{
  "hitCount" : 0,
  "skip" : 0,
  "take" : 100,
  "nextPage" : null,
  "previousPage" : null,
  "documents" : [ ]
}

For a system containing a single job, the response would be of the form:

{
  "hitCount" : 1,
  "skip" : 0,
  "take" : 100,
  "nextPage" : null,
  "previousPage" : null,
  "documents" : [ {
    "location" : "http://localhost:8080/engine/v2/jobs/farequote-json",
    "status" : "CLOSED",
    "timeout" : 600,
    "id" : "farequote-json",
    "description" : "Application response times by airline",
    "analysisConfig" : {
      "detectors" : [ {
        "fieldName" : "responsetime",
        "byFieldName" : "airline"
      } ],
      "bucketSpan" : 3600
    },
    "dataDescription" : {
      "format" : "JSON",
      "fieldDelimiter" : "\t",
      "timeField" : "time",
      "timeFormat" : "epoch",
      "quoteCharacter" : "\""
    },
    "counts" : {
      "bucketCount" : 119,
      "processedRecordCount" : 86275,
      "processedFieldCount" : 172550,
      "inputRecordCount" : 86275,
      "inputBytes" : 8246803,
      "inputFieldCount" : 258825,
      "invalidDateCount" : 0,
      "missingFieldCount" : 0,
      "outOfOrderTimeStampCount" : 0
    },
    "createTime" : "2016-03-30T13:47:35.945+0000",
    "finishedTime" : "2016-03-30T13:57:47.573+0000",
    "lastDataTime" : "2016-03-30T13:47:47.405+0000",
    "endpoint" : {
      "data" : "http://localhost:8080/engine/v2/data/farequote-json",
      "buckets" : "http://localhost:8080/engine/v2/results/farequote-json/buckets",
      "records" : "http://localhost:8080/engine/v2/results/farequote-json/records",
      "logs" : "http://localhost:8080/engine/v2/logs/farequote-json"
    }
  } ]
}