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.

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

Version: v3

Required Permissions

D s api auth

Request

Request Type: POST

Endpoint:

Code Block
/v3/wrangledDatasets/

 

Request Body - Imported Dataset:

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

Request Body - Wrangled Dataset:

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

Response

Response Status Code - Success: 201 - Created

Response Body Example - Imported Dataset:

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

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