复制流水线编排

Request method/request path

POST /ms/openapi/api/apigw/v3/projects/{projectId}/pipelines/{pipelineId}/copy

Resource description

Copy pipelining

Input parameter description

Body parameter

Parameter nameParameter typemustParameter descriptionDefault value

body

is

Pipeline COPY

Path parameter

Parameter nameParameter typemustParameter descriptionDefault value

projectId

string

is

Item ID

pipelineId

string

is

Pipeline model

response

HTTP codedescriptionParameter type

200

successful operation

Request sample

curl -X POST '[Please replace API address bar request address]' 

HEADER example

accept: application/json Content-Type: application/json 

Return example -200

{  "data" : {  "id" : "String"  },  "message" : "String",  "status" : 0 } 

Pipeline-copy Indicates the creation information

Parameter nameParameter typemustParameter description

name

string

is

name

hasCollect

boolean

no

Collection or not

desc

string

no

description

group

string

no

Group name

The data is returned to the wrapper model pipelining model-ID

Parameter nameParameter typemustParameter description

data

no

data

message

string

no

Error message

status

integer

is

Status code

Pipeline model -ID

Parameter nameParameter typemustParameter description

id

string

is

Pipeline ID

Last updated