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
}
Get the details of a job configuration’s most recent 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
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The name of the job configuration for which to find job runs.
OK
The response is of type object
.
Was this page helpful?