Contents:
Get the primary input dataset for the specified wrangled dataset. For a wrangled dataset, its primary input dataset is the original dataset from which the wrangled dataset was created.
Tip: In the Designer Cloud application UI, the WrangledDataset
object is called a recipe
.
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: GET
Endpoint:
/v4/wrangledDatasets/<id>/primaryInputDataset
where:
Parameter | Description |
---|---|
<id> | Internal identifier for the wrangled dataset |
Request URI - Example:
/v4/wrangledDatasets/31/primaryInputDataset
Request Body:
Empty.
Response
Response Status Code - Success: 200 - OK
Response Body Example - imported dataset:
{ "importedDataset": { "path": "/trifacta/uploads/1/3630243f-4a20-4996-8fa4-cb190c565358/POS-r01.txt", "bucket": null, "container": null, "type": "hdfs", "blobHost": null, "isDynamicOrConverted": false, "id": 9, "dynamicPath": null, "isSchematized": true, "isDynamic": false, "isConverted": false, "disableTypeInference": false, "hasStructuring": true, "createdAt": "2019-01-28T19:54:47.667Z", "updatedAt": "2019-01-28T19:54:47.847Z", "storageLocation": { "fullUri": "hdfs:///trifacta/uploads/1/3630243f-4a20-4996-8fa4-cb190c565358/POS-r01.txt", "id": 34, "path": "/trifacta/uploads/1/3630243f-4a20-4996-8fa4-cb190c565358/POS-r01.txt", "size": "292817", "workspaceId": 1, "type": "hdfs", "bucket": null, "blobHost": null, "container": null, "hash": "215944e85eaabf9fd7ae837b36ff80711abe7ae1", "createdAt": "2019-01-28T19:54:47.664Z", "updatedAt": "2019-01-28T19:54:47.664Z" }, "creator": { "id": 1 }, "updater": { "id": 1 }, "workspace": { "id": 1 }, "parsingRecipe": { "id": 25 }, "connection": null } }
Response Body Example - recipe:
{ "wrangledDataset": { "id": 11, "wrangled": true, "createdAt": "2018-04-24T16:12:14.018Z", "updatedAt": "2018-04-24T17:05:06.741Z", "referenceInfo": { "id": 1 }, "activeSample": { "id": 11 }, "creator": { "id": 1 }, "updater": { "id": 1 }, "recipe": { "id": 11 }, "flow": { "id": 3 } } }
Reference
Imported Dataset:
For more information on these properties, see API ImportedDatasets Get v4.
Wrangled Dataset:
Property | Description |
---|---|
id | Internal identifier of the recipe associated with this dataset |
wrangled | If true , this object is a recipe. |
createdAt | Timestamp for when the recipe was created |
updatedAt | Timestamp for when the recipe was last updated |
referenceInfo.id | Internal identifier of the object that provides input to this one. |
activeSample.id | Internal identifier of the sample currently associated with this recipe. |
creator.id | Internal identifier of the user who created this recipe. |
updater.id | Internal identifier of the user who last modified this recipe. |
recipe.id | Internal identifier of the recipe associated with this dataset |
flow.id | Internal identifier of the flow that contains this dataset |
For more information on the other properties, see API WrangledDatasets Get v4.
This page has no comments.