Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

D toc

Warning

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

D s api auth

Request

Request Type: GET

Endpoint:

Code Block
/v3/wrangledDatasets/<id>/primaryInputDataset

where:

ParameterDescription
<id>Internal identifier for the wrangled dataset

Request URI - Example:

Code Block
/v3/wrangledDatasets/3/primaryInputDataset

Request Body:

Empty.

Response

Response Status Code - Success:  200 - OK

Response Body Example - imported dataset:

Code Block
{
  "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:

 

Code Block
{
  "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.