Rejecting the Manual Check Point
Function
This API is used to reject the manual check point.
Calling Method
For details, see Calling APIs.
URI
POST /v5/{project_id}/api/pipelines/{pipeline_id}/pipeline-runs/{pipeline_run_id}/steps/{stepRunId}/manual/refuse
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
stepRunId |
Yes |
String |
Definition: Pipeline step ID. Obtain the ID by calling the API for querying pipeline details. stages.jobs.steps indicates the step ID. Constraints: N/A Value range: The value consists of 32 characters, including digits and letters. Default value: N/A |
project_id |
Yes |
String |
Definition: Project ID. For details, see Obtaining a Project ID. Constraints: N/A Value range: The value consists of 32 characters, including digits and letters. Default value: N/A |
pipeline_id |
Yes |
String |
Definition: Pipeline ID. Obtain the ID by calling the API for querying pipelines. pipelines.pipelineId indicates the pipeline ID. Constraints: N/A Value range: The value consists of 32 characters, including digits and letters. Default value: N/A |
pipeline_run_id |
Yes |
String |
Definition: Pipeline run ID. The return value of the API for starting a pipeline is the pipeline run ID. Constraints: N/A Value range: The value consists of 32 characters, including digits and letters. Default value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
success |
Boolean |
Definition: Whether the operation is successful. Value range:
|
Example Requests
POST http://{endpoint}/v5/e2e18230a85d4d6ab0b56cb6d2246c18/api/pipelines/dc73b5ed58a64ab7a469b9480e5f6632/pipeline-runs/354cf6f0b16e46339ca37a177165f0f4/jobs/44df81750064499480dccc66872705ae/steps/e84931f21b1d45be99445c72fc086c47/refuse
Example Responses
Status code: 200
Response body.
{ "success" : true }
Status Codes
Status Code |
Description |
---|---|
200 |
Response body. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot