v1

latestSwagger 2.0Apache 2.02026-07-174650145.6 KB
Jobs

Update a job

Update the configuration details of an existing job.

put/api/v1/project/{projectid}/jobs/{id}

Path parameters

projectidstring required

project id (default is 123)

idinteger required

job id

Request body

activateboolean
difference_streamsstring
frequencystring required
namestring required
streams_configstring required

Example request

{
  "activate": true,
  "advanced_settings": {
    "max_discover_threads": 50
  },
  "destination": {
    "config": "{\"host\":\"localhost\",\"port\":5432}",
    "id": 1,
    "name": "my-postgres-source",
    "type": "postgres",
    "version": "v0.2.7"
  },
  "difference_streams": "[]",
  "frequency": "0 */12 * * *",
  "name": "my-sync-job-updated",
  "source": {
    "config": "{\"host\":\"localhost\",\"port\":5432}",
    "id": 1,
    "name": "my-postgres-source",
    "type": "postgres",
    "version": "v0.2.7"
  }
}

Response

job updated successfully