GET
/
spark
/
jobs
/
{id}
Get a job's last run
curl --request GET \
  --url https://{FUSION HOST}/api/spark/jobs/{id} \
  --header 'Authorization: Basic <encoded-value>'
{
  "state": "unknown",
  "jobId": "<string>",
  "jobConfig": {
    "id": "<string>",
    "sparkConfig": [
      {
        "key": "<string>",
        "value": "<string>"
      }
    ],
    "type": "<string>"
  },
  "hostname": "<string>",
  "result": {
    "jobConfigId": "<string>",
    "jobRunId": "<string>",
    "exception": {}
  },
  "startTime": "2023-11-07T05:31:56Z",
  "endTime": "2023-11-07T05:31:56Z",
  "duration": 123
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The name of the job configuration for which to find job runs.

Response

200 - */*

OK

The response is of type object.