v2
latestOpenAPI 3.1.02026-07-31822441.6 KBRun a V2 Job
Kicks off a job for a given tenant. Can be used to write data in target flows by passing a payload in the state object. When queue_if_active_job is set to true in the request body, hotglue queues the job if another job is already running for the same tenant or flow.
post/v2/{env_id}/{flow_id}/{tenant}/jobs
Path parameters
env_idstring required
ID of environment
flow_idstring required
ID of flow
tenantstring required
ID of tenant
Request body
Response
200
Example response
{
"job_id": "37g_DK",
"env_id": "mydomain.hotglue.xyz",
"flow_id": "l8odS2mce",
"job_name": "l8odS2mce-chargebee-20220119-153011",
"s3_root": "12598713/flows/l8odS2mce/jobs/2022/01/4/19/15/37g_DK",
"start_time": "2022-01-19T15:30:11.731333+00:00",
"tap": "chargebee",
"status": "JOB_CREATED",
"scheduled_job": true,
"message": "...",
"last_updated": "2022-01-19T15:35:13.982380+00:00"
}