v1

latestOpenAPI 3.0.3Apache 2.02026-07-17302459.9 KB
Data Jobs Sources

Upload Data Job source code. | (Stable)

<i>(Introduced in v1.0)</i> | Uploads the Data Job source code and returns its version. Upload is persisted in source (Git) repository, so that all code deployed is versioned. The format of the payload is expected to be a ZIP archive, where the directory content can be found. <br>Example:<br> <br> If zip is <br> foo/file.txt<br> foo/nested_dir/file2.txt<br> <br>then data job dir uploaded will look like <br> job-name/file.txt<br> job-name/nested_dir/file2.txt<br>

post/data-jobs/for-team/{team_name}/jobs/{job_name}/sources

Query parameters

reasonstring

The reason for executing the request

Response

Data Job version

version_shastring required

SHA hash which specifies the latest deployed version of the data job

Example response

{
  "version_sha": "17012900f60461778c01ab24728807e70a5f2c87"
}