POST
/
spark
/
jobs
{
  "state": "unknown",
  "jobId": "<string>",
  "jobConfig": {
    "id": "<string>"
  },
  "hostname": "<string>",
  "result": {
    "jobConfigId": "<string>",
    "jobRunId": "<string>",
    "docsWritten": 123,
    "exception": {
      "job": {
        "type": "APPKIT_APP",
        "id": "<string>",
        "canonicalName": "<string>",
        "uri": "<string>"
      },
      "jobRunId": "<string>",
      "httpStatusCode": 123,
      "error": "<string>",
      "message": "<string>",
      "details": "<string>",
      "cause": {
        "cause": {},
        "stackTrace": [
          {
            "methodName": "<string>",
            "fileName": "<string>",
            "lineNumber": 123,
            "className": "<string>",
            "nativeMethod": true
          }
        ],
        "message": "<string>",
        "localizedMessage": "<string>",
        "suppressed": [
          {}
        ]
      },
      "stackTrace": [
        {
          "methodName": "<string>",
          "fileName": "<string>",
          "lineNumber": 123,
          "className": "<string>",
          "nativeMethod": true
        }
      ],
      "localizedMessage": "<string>",
      "suppressed": [
        {
          "cause": {},
          "stackTrace": [
            {
              "methodName": "<string>",
              "fileName": "<string>",
              "lineNumber": 123,
              "className": "<string>",
              "nativeMethod": true
            }
          ],
          "message": "<string>",
          "localizedMessage": "<string>",
          "suppressed": [
            {}
          ]
        }
      ],
      "httpStatusMessage": "<string>",
      "class": "<string>",
      "requestId": "<string>"
    }
  },
  "startTime": "<string>",
  "endTime": "<string>",
  "duration": 123
}

Query Parameters

sync
boolean

When true, run the job synchronously; the request will not return until the job is complete

Body

application/json · object

Spark job configuration. A unique ID will be assigned to this configuration

The body is of type object.

Response

200 - application/json

successful operation

The response is of type object.