UnifiedViews Method - Copy Pipeline
Abstract
UnifiedViews Method - Copy Pipeline
Description |
|---|
This call lets you copy an existing pipeline. |
URL: http://{server}/master/api/1/pipelines/{pipeline_id}/clone?
application/json
Supported Method |
|---|
POST |
Parameter | Type | Required | Description |
|---|---|---|---|
name | string | true | Name of the pipeline you want to copy. |
description | string | false | A description for the pipeline details the copy should contain. |
owner | string | false | Owner of the pipeline. |
Note
You can use these API calls to request one or all existing pipelines and their information:
curl --location --request POST "http://{{server}}/master/api/1/pipelines/{{pipelineId}}/clone" \
--header "Content-Type: application/json" \
--data "{
\"name\": \"Extract data from DBpedia - Copy\",
\"description\": \"This is a Copy of the pipeline, which uses SPARQL Endpoint extractor to fetch information about cities from DBpedia\",
\"owner\": \"user\"
}"application/json
Status: 200 - OK
{
id: 1,
name: "The pipeline",
description: "The description"
}