Page tree

 

As of Release 6.4, the v3 APIs are End of Life (EOL). Before using this release or a later one, you should migrate to using the latest available API version. For more information, see API Version Support Matrix.
Latest version of this endpoint: API WrangledDatasets Get PrimaryInputDataset v4.

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 Trifacta application UI, the WrangledDataset object is called a recipe.

Version:  v3

Required Permissions

NOTE: Each request to the Trifacta® platform must include authentication credentials. See API Authentication.

Request

Request Type: GET

Endpoint:

/v3/wrangledDatasets/<id>/primaryInputDataset

where:

ParameterDescription
<id>Internal identifier for the wrangled dataset

Request URI - Example:

/v3/wrangledDatasets/3/primaryInputDataset

Request Body:

Empty.

Response

Response Status Code - Success:  200 - OK

Response Body Example - imported dataset:

{
  "importedDataset": {
    "id": 47,
    "size": "292817",
    "path": "/trifacta/uploads/1/2a677cbe-ca19-4d47-b038-65cda938588d/POS-r01.txt",
    "isSharedWithAll": false,
    "type": "hdfs",
    "cpProject": null,
    "bucket": null,
    "connectionId": null,
    "isSchematized": false,
    "createdAt": "2017-02-21T17:54:56.621Z",
    "updatedAt": "2017-02-21T17:54:56.840Z",
    "createdBy": 1,
    "updatedBy": 1,
    "parsingScriptId": 92
  }
}

Response Body Example - wrangled dataset:

 

{
  "wrangledDataset": {
    "id": 50,
    "scriptId": 49,
    "flowId": 10,
    "flowNodeId": null,
    "deleted_at": null,
    "wrangled": true,
    "createdAt": "2017-02-21T16:53:15.619Z",
    "updatedAt": "2017-02-21T17:04:03.257Z",
    "activesampleId": 33,
    "createdBy": 1,
    "updatedBy": 1
  }
}

Reference

Imported Dataset:

For more information on these properties, see API ImportedDatasets Get v3.

 

Wrangled Dataset:

PropertyDescription
scriptIdInternal identifier of the recipe associated with this dataset
flowIdInternal identifier of the flow that contains this dataset
flowNodeIdInternal identifier for the node of the flow to which the dataset is attached
deletedAt

Timestamp for when the dataset was deleted.

If null, the dataset has not been deleted.

wrangledIf true, this dataset is a wrangled dataset

For more information on the other properties, see API WrangledDatasets Get v3.

This page has no comments.