v1

latestSwagger 2.0Apache 2.02026-07-174650145.6 KB
Jobs

Create a new job

Create a new job within a specific project.

post/api/v1/project/{projectid}/jobs

Path parameters

projectidstring required

project id (default is 123)

Request body

activateboolean
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"
  },
  "frequency": "0 */6 * * *",
  "name": "my-sync-job",
  "source": {
    "config": "{\"host\":\"localhost\",\"port\":5432}",
    "id": 1,
    "name": "my-postgres-source",
    "type": "postgres",
    "version": "v0.2.7"
  }
}

Response

job created successfully