手动审核启动阶段

Request method/request path

POST /ms/openapi/api/apigw/v3/projects/{projectId}/pipelines/{pipelineId}/builds/{buildId}/stages/{stageId}/manualStart

Resource description

Manually audit the startup phase

Input parameter description

Query parameter

Parameter nameParameter typemustParameter descriptionDefault value

cancel

boolean

no

Cancel execution

Body parameter

Parameter nameParameter typemustParameter descriptionDefault value

body

no

Audit request body

Path parameter

Parameter nameParameter typemustParameter descriptionDefault value

projectId

string

is

Item ID

pipelineId

string

is

Pipeline ID

buildId

string

is

Build ID

stageId

string

is

Phase ID

response

HTTP codedescriptionParameter type

200

successful operation

Request sample

curl -X POST '[please replace API address bar request address]? cancel={cancel}' 

HEADER example

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

Return example -200

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

Manual audit - Customize parameters

Parameter nameParameter typemustParameter description

valueType

ENUM(STRING, TEXTAREA, BOOLEAN, ENUM, MULTIPLE, )

no

Parameter type

options

no

Drop-down list

chineseName

string

no

Chinese name

value

object

is

Parameter content

key

string

is

Parameter name

required

boolean

is

Is it required?

desc

string

no

Parameter description

Manual Audit - Custom Parameters - Drop down box list sword

Parameter nameParameter typemustParameter description

value

string

is

Parameter content

key

string

is

Parameter 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