Contents:
Create an outputobject.
Version: v4
Required Permissions
NOTE: Each request to the Designer Cloud Powered by Trifacta® platform must include authentication credentials. See https://api.trifacta.com/ee/6.0/index.html#section/Authentication.
Request
Request Type: POST
NOTE: If an outputobject already exists for the recipe (flowNodeId) to which you are posting, you must either modify the object instead or delete it before posting your new object.
Endpoint:
/v4/outputobjects
Request Body:
Following creates an outputobject with an embedded writesettings object to write an Avro file to the specified location:
{ "execution": "photon", "profiler": true, "isAdhoc": true, "writeSettings": { "data": [ { "delim": ",", "path": "hdfs://hadoop:50070/trifacta/queryResults/admin@trifacta.local/POS_999.avro", "action": "create", "format": "avro", "compression": "none", "header": false, "asSingleFile": false, "prefix": null, "suffix": "_increment", "hasQuotes": false, "outputObject": { "id": 4 } } ] }, "flowNode": { "id": 15 } }
For more information on these properties, see API OutputObjects Get v4.
For more information on the writesettings parameters, see API WriteSettings Get v4.
Response
Response Status Code - Success: 201 - Created
{ "id": 6, "execution": "photon", "profiler": true, "isAdhoc": true, "updatedAt": "2018-11-08T19:08:57.517Z", "createdAt": "2018-11-08T19:08:57.517Z", "creator": { "id": 1 }, "updater": { "id": 1 }, "flowNode": { "id": 15 } }
Reference
For more information on the properties of an outputobject, see API OutputObjects Get v4.
This page has no comments.