v1

latestOpenAPI 3.0.3Apache 2.02026-07-17302459.9 KB
Data Jobs

Creates a new Data Job | (Stable)

<i>(Introduced in v1.0)</i> | Creates a new Data Job.<br> The name of the Data job should comply to the following naming convention:<br>

<li>should start with a letter <li>50 characters at most <li>5 characters at least <li>should contain only lowercase alphanumeric symbols and dash [a-z0-9\-] <br><br> When succesfully created clients can download the keytab associated with the Data Job to run it locally.<br> To deploy so that it can be executed reguarly in the runtime environment use /data-jobs/for-team/{team_name}/jobs/{job_name}/deployments API.
post/data-jobs/for-team/{team_name}/jobs

Path parameters

team_namestring required

The Team which owns the Data Job

Query parameters

namestring

The Name of the Data Job

Request body

job_namestring required

Data Job name

descriptionstring required

Short Data Job description

teamstring

(Optional) Team name

Example request

{
  "job_name": "starshot-processing-vmc-fact-daily",
  "description": "Data Job responsible for transforming vmc-related fact tables on a daily basis.",
  "config": {
    "db_default_type": "TRINO",
    "contacts": {
      "notified_on_job_failure_user_error": [
        "auserov@example.mail.com"
      ],
      "notified_on_job_failure_platform_error": [
        "auserov@example.mail.com"
      ],
      "notified_on_job_success": [
        "auserov@example.mail.com"
      ],
      "notified_on_job_deploy": [
        "auserov@example.mail.com"
      ]
    },
    "schedule": {
      "schedule_cron": "0 0 13 * 5"
    },
    "notification_delay_period_minutes": 60
  },
  "team": "starshot (Optional property)"
}

Response

Created successfully.