Page tree

Release 5.1


Contents:

   

For the latest updates on available API endpoints and documentation, see api.trifacta.com.

Contents:


In Release 4.2, the wrangled dataset object was removed from the application interface. This API endpoint remains, as the internal platform objects have not been modified. For more information, see Changes to the Object Model.

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.

Version:  v3

Required Permissions

NOTE: Each request to the Designer Cloud Powered by Trifacta® platform must include authentication credentials. See https://api.trifacta.com/ee/5.1/index.html#section/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.