流水线重命名

Request method/request path

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

Resource description

Pipeline renaming

Input parameter description

Body parameter

Parameter nameParameter typemustParameter descriptionDefault value

body

is

Pipeline name

Path parameter

Parameter nameParameter typemustParameter descriptionDefault value

projectId

string

is

Item ID

pipelineId

string

is

Pipeline ID

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" : true,  "message" : "String",  "status" : 0 } 

Pipeline model -NAME

Parameter nameParameter typemustParameter description

name

string

is

Pipeline name

Data return wrapper model Boolean

Parameter nameParameter typemustParameter description

data

boolean

no

data

message

string

no

Error message

status

integer

is

Status code

Last updated