Webhook endpoint called by Spark jobs to notify completion or failure of a job execution.
This endpoint is called automatically by the Spark system when a job terminates (with status RUNNING, COMPLETED or FAILED).
API for managing projects, jobs, datasets, and ETL pipelines on WebRobot.
The API uses API Keys for authentication. Include the X-API-Key header in all requests.
curl -i -X POST \
http://docs.webrobot.eu/_mock/openapi/webrobot/api/projects/id/98/jobs/210/completion \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"jobId": "string",
"executionId": "string",
"sparkApplicationName": "string",
"status": "string",
"outputDatasetPath": "string",
"outputDatasetFormat": "string",
"outputDatasetSchema": "string",
"durationSeconds": 0,
"recordsProcessed": 0,
"recordsOutput": 0,
"outputFileSizeBytes": 0,
"partitionsCount": 0,
"driverMemoryUsedBytes": 0,
"executorMemoryUsedBytes": 0,
"executorCount": 0,
"totalCpuTimeSeconds": 0,
"errorCount": 0,
"warningCount": 0,
"errorMessage": "string",
"additionalMetrics": {
"property1": {},
"property2": {}
},
"startedAt": "string",
"completedAt": "string",
"sparkUiUrl": "string",
"metrics": {
"property1": {},
"property2": {}
}
}'curl -i -X GET \
'http://docs.webrobot.eu/_mock/openapi/webrobot/api/html/{url}/{protocol}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'curl -i -X GET \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}/{id}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'curl -i -X PUT \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}/{id}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"property1": {},
"property2": {}
}'curl -i -X DELETE \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}/{id}' \
-H 'X-API-Key: YOUR_API_KEY_HERE'curl -i -X GET \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}?page=0&pageSize=50' \
-H 'X-API-Key: YOUR_API_KEY_HERE'curl -i -X POST \
'http://docs.webrobot.eu/_mock/openapi/api/strapi-tables/{table}' \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"property1": {},
"property2": {}
}'curl -i -X GET \
http://docs.webrobot.eu/_mock/openapi/health \
-H 'X-API-Key: YOUR_API_KEY_HERE'