Page tree

Release 6.4.2


Contents:

   

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

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 Create v4.

Contents:


Create a new wrangled dataset from the specified imported dataset or wrangled dataset. Wrangled dataset is owned by the authenticated user.

Tip: In the Designer Cloud application UI, the WrangledDataset object is called a recipe.

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/6.4/index.html#section/Authentication.

Request

Request Type: POST

Endpoint:

/v3/wrangledDatasets/

 

Request Body - Imported Dataset:

{
  "name": "Copy of Imported Dataset 2",
  "importedDataset": {
    "id": 2
  },
  "flow": {
    "id": 2
  }
}

Request Body - Wrangled Dataset:

{
  "name": "Copy of Wrangled Dataset 18",
  "wrangledDataset": {
    "id": 18
  },
  "flow": {
    "id": 1
  }
}

Response

Response Status Code - Success: 201 - Created

Response Body Example - Imported Dataset:

{
  "id": 23,
  "flowId": 2,
  "scriptId": 24,
  "wrangled": true,
  "createdBy": 1,
  "updatedBy": 1,
  "updatedAt": "2017-02-08T20:28:06.067Z",
  "createdAt": "2017-02-08T20:28:06.067Z",
  "flowNodeId": null,
  "deleted_at": null,
  "activesampleId": null,
  "name": "Copy of Imported Dataset 2",
  "active": true
}

Response Body Example - Wrangled Dataset:

{
  "id": 20,
  "flowId": 2,
  "scriptId": 21,
  "wrangled": true,
  "createdBy": 1,
  "updatedBy": 1,
  "updatedAt": "2017-02-08T20:26:09.446Z",
  "createdAt": "2017-02-08T20:26:09.446Z",
  "flowNodeId": null,
  "deleted_at": null,
  "activesampleId": null,
  "name": "Copy of Wrangled Dataset 18",
  "active": true
}

Reference

For more information on the properties of a wrangled dataset, see API WrangledDatasets Get v3.

 

This page has no comments.