Skip to main content

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?

Content Type

application/json

Request

Supported Method

POST

HTTP Parameters

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:

Example Request
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\"
}"
ResponseContent-Type

application/json

Status: 200 - OK

Example Response
{ 
  id: 1,
  name: "The pipeline",
  description: "The description"
}