curl --request GET \
--url https://{FUSION HOST}/api/spark/jobs \
--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 list of recent job runs.
curl --request GET \
--url https://{FUSION HOST}/api/spark/jobs \
--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
.
OK
The response is of type object[]
.
Was this page helpful?