Running a Job
Function
This API is used to run a job.
URI
POST /v1.0/{project_id}/pipelines/run-pipeline
Table 1 lists the parameters.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain the project ID, see Obtaining a Project ID. |
Request
Example request:
POST https://{Endpoint}:{port}/v1.0/{project_id}/pipelines/run-pipeline { "jobId": 54022 }
Table 2 lists the parameters.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
jobId |
Yes |
Int |
Unique identifier of the job. For details about how to obtain the job ID, see Obtaining a Job ID. |
Response
None.
Status Code
- If the operation is successful, status code 200 is returned. For details about status codes, see Status Codes.
- If the operation failed, identify the failure cause according to the response body and the instructions in 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