Run a V1 job
Changed onKicks off a job for a given tenant. When using the API tap, you can pass a payload in the state object to be written to the target. 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/{env_id}/{flow_id}/{tenant}/jobs
Request
- Base URLhttps://api.hotglue.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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",
"external_job_id": "asdijsdijasd",
"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"
}Changes
- warning
added the new
DISCOVER_SUCCESSenum value to theresponse property for the response status - warning
added the new
PROVISION_FAILEDenum value to theresponse property for the response status
- warning
- info
added the new optional request property
- info
added the optional property
to the response with the status
- info