For a specified jobGroup, this endpoint performs an ad-hoc publish of the results to the designated target.
You can specify:
Supported targets:
For additional examples, see API Workflow - Publish Results.
Version: v4
Request Type: PUT
Endpoint:
/v4/jobGroups/<id>/publish |
where:
Parameter | Description |
---|---|
<id> | Internal identifier for the job group |
Request URI - Example:
/v4/jobGroups/31/publish |
Request Body - Hive:
{ "connection": { "id": 1 }, "path": ["default"], "table": "test_table", "action": "create", "inputFormat": "pqt", "flowNodeId": 27 } |
Response Status Code - Success: 200 - OK
Response Body Example:
{ "jobgroupId": 31, "reason": "JobStarted", "sessionId": "f6c5f350-2102-11e9-bb80-9faf7b15f235" } |
Request Reference:
Property | Description | ||
---|---|---|---|
connection | Internal identifier of the connection to use to write the results. | ||
path | Name of database to which to write the results. This value must be enclosed in square brackets. | ||
table | Name of table in the database to which to write the results. | ||
action | Type of writing action to perform with the results. Supported actions:
| ||
inputFormat | Source format of the results. Supported values: Hive:
Redshift:
| ||
flowNodeId | The internal identifier for the recipe (wrangledDataset) from which the job was executed. |
For more information on the available status messages, see API JobGroups Put Publish v4.