curl --request POST \
--url https://{FUSION HOST}/api/spark/configurations \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"sparkConfig": [
{
"key": "<string>",
"value": "<string>"
}
],
"type": "<string>"
}'
{
"id": "<string>",
"sparkConfig": [
{
"key": "<string>",
"value": "<string>"
}
],
"type": "<string>"
}
Create a new job configuration.
curl --request POST \
--url https://{FUSION HOST}/api/spark/configurations \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '{
"id": "<string>",
"sparkConfig": [
{
"key": "<string>",
"value": "<string>"
}
],
"type": "<string>"
}'
{
"id": "<string>",
"sparkConfig": [
{
"key": "<string>",
"value": "<string>"
}
],
"type": "<string>"
}
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
The app to which this job belongs.
OK
The response is of type object
.
Was this page helpful?