datasetId to set the Start node’s source dataset. Optionally set itemLimit and itemFilter. Returns the updated pipeline; an active run prevents changes.
Signature
Method signature onclient.pipelines:
Parameters
string
required
Pipeline ID with prefix
pl..string
required
Dataset ID with prefix
ds. to attach to the pipeline.number
Optional cap on how many items the run will process.
DatasetItemFilter
Optional filter selecting which dataset items a run processes — by field values, field sources, missing revision fields, a created-before cutoff, the rows of a slice, and the parts of a split field to keep or to leave out. A slice selects its rows, and reads its frozen fields and their split parts, as they were at its cutoff; the other filters, excluded parts included, match the latest values. Omitted means all items; supplying it replaces any previously attached filter.
Returns
Promise<Pipeline>
A pipeline within a project.
PipelineId
required
Pipeline ID with prefix
pl..ProjectId
required
Project ID with prefix
pp..string
required
Name of the pipeline.
number
required
Pipeline version number; copying a pipeline increments the source version.
string
required
Time the pipeline was created, as an ISO 8601 timestamp.
string
required
Time the pipeline was last updated, as an ISO 8601 timestamp.
Errors
HTTP errors throwPotatoApiError. The endpoint documents these error responses:
HTTP endpoint:
POST /pipelines/{pipelineId}/dataset.