D s api version |
---|
D toc |
---|
Add the specified wrangled dataset to a flow as a reference. A reference is a link from one flow to the output of a wrangled dataset that is sourced from another flow.
Tip | |
---|---|
Tip: In the
WrangledDataset object is called a recipe . |
Info |
---|
NOTE: Datasets can be added to flows based on the permissions of the access token used on this endpoint. Datasets can be added to flows that are shared by the user. |
Version: v4
Required Permissions
D s api auth |
---|
Request
Request Type: POST
Endpoint:
Code Block |
---|
/v4/wrangledDatasets/<id>/addToFlow |
where:
Parameter | Description |
---|---|
<id> | Internal identifier for the wrangled dataset |
Request URI - Example:
Code Block |
---|
/v4/wrangledDatasets/15/addToFlow |
Request Body:
Code Block |
---|
{ "flow": { "id": 27 } } |
Response
Response Status Code - Success: 201 - Created
Response Body:
Code Block |
---|
{ "id": 43, "wrangled": false, "updatedAt": "2019-01-26T01:09:38.022Z", "createdAt": "2019-01-26T01:09:38.022Z", "referenceInfo": null, "activeSample": null, "creator": { "id": 1 }, "updater": { "id": 1 }, "recipe": null, "referencedFlowNode": { "id": 27 }, "flow": { "id": 15 } } |
Reference
Property | Description |
---|---|
id | Internal identifier for the new wrangled dataset. |
wrangled | If If |
updatedAt | Timestamp for when the dataset was updated. |
createdAt | Timestamp for when the dataset was created. |
referenceInfo | If the wrangled dataset has a reference object defined for it, its information is listed here. |
activeSample | Internal identifier for the currently active sample for the dataset. If |
creator.Id | Internal identifier of the user who created the flow. |
updater.Id | Internal identifier of the user who performed the update. |
recipe | Internal identifier for the recipe associated with the dataset in its new flow. If |
referencedFlowNode.id | Internal identifier of the original dataset's internal identifier. |
flow.Id | Internal identifier of the flow that contains this dataset |