Data Jobs Deployment
Creates or updates a deployment of a Data Job. | (Stable)
<i>(Introduced in v1.0)</i> | Creates or updates a deployment of a Data Job. The API returns before the actual Job is deployed (the operation is asynchrounous). Depending on settings specified during Data Job creation, clients will get an e-mail in case of success or failure of the deployment. If you need to change only deployment settings without changing the job version, use PATCH deployments request which is synchronous.
post/data-jobs/for-team/{team_name}/jobs/{job_name}/deployments
Query parameters
send_notificationboolean
Allows administrators to disable sending notification during maintance window for platfrom errors - e.g if all jobs are being re-deployed due to migration or after recovering from an outage. Monitoring data will still be popoulated so deployment status can be monitored by admins.
Request body
Example request
{
"job_version": "11a403ba",
"python_version": "3.9",
"mode": "release",
"id": "release",
"deployed_by": "auserov@example.mail.com",
"schedule": {
"schedule_cron": "0 0 13 * 5"
},
"resources": {
"cpu_request": 10,
"cpu_limit": 20,
"memory_request": 1024,
"memory_limit": 2048
}
}Response
Update accepted successfully.