Add the specified imported dataset to a flow based on its internal identifier.
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
Request Type: POST
Endpoint:
/v4/importedDatasets/<id>/addToFlow |
where:
Parameter | Description |
---|---|
<id> | Internal identifier for the imported dataset |
Request URI - Example:
/v4/importedDatasets/18/addToFlow |
Request Body:
{ "flow": { "id": 12 } } |
Response Status Code - Success: 201 - Created
Response Body:
{ "id": 47, "wrangled": false, "updatedAt": "2019-02-12T00:51:59.961Z", "createdAt": "2019-02-12T00:51:59.931Z", "referenceInfo": null, "activeSample": { "id": 52 }, "creator": { "id": 1 }, "updater": { "id": 1 }, "recipe": { "id": 37 }, "referencedFlowNode": null, "flow": { "id": 12 } } |
Property | Description |
---|---|
id | Internal identifier for the new wrangled dataset. |
wrangled | This value is always true . |
updatedAt | Timestamp for when the dataset was updated. |
createdAt | Timestamp for when the dataset was created. |
referenceInfo | Reference information for the new object in the flow. Since the dataset has just been added, this value should be null . |
activeSample.id | 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.id | Internal identifier for the recipe for the dataset. If |
referencedFlowNode | Internal identifier of the node of the flow that this dataset references. Since this dataset is an imported dataset, there is no reference. This value should be null . |
flow.id | Internal identifier of the flow that contains this dataset. |
For more information on the other properties, see API ImportedDatasets Get v4.