Jobs
Create a new job
Changed onCreate a new job within a specific project.
post/api/v1/project/{projectid}/jobs
Request
- The document declares no server URL.
- Authnone declared
Path parameters
projectidstring required
project id (default is 123)
Request body
Example request
{
"activate": true,
"advanced_settings": {
"index_required": true,
"max_discover_threads": 50,
"target_query_engines": [
"spark",
"duckdb"
]
},
"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
Changes
- info
added the non-success response with the status
- info
- info
removed the non-success response with the status
- info