Retrying an Exclusive ServiceComb Engine
Function
This API is used to retry an exclusive ServiceComb engine.
URI
PUT /v2/{project_id}/enginemgr/engines/{engine_id}/actions
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Tenant sub-project ID, which must be unique. The value contains 1 to 64 characters. See Obtaining a Project ID. |
engine_id |
Yes |
String |
ID of an exclusive ServiceComb engine. |
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. |
X-Enterprise-Project-ID |
No |
String |
Enterprise project ID. If this parameter is not set, the default enterprise project is default and the ID is 0. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
action |
Yes |
String |
Fixed value: Retry. |
Response
Status code: 200
Parameter |
Type |
Description |
---|---|---|
id |
String |
ID of the exclusive ServiceComb engine. |
name |
String |
Name of the exclusive ServiceComb engine. |
jobId |
Integer |
ID of the job executed by the exclusive ServiceComb engine. |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
error_code |
String |
Error code. |
error_msg |
String |
Error message. |
Example Request
Retry an engine with specified engine_id.
{ "action": "Retry" }
Example Response
Status code: 200
Response structure for retrying an exclusive ServiceComb engine.
{ "id": "4a1bc63d-4719-4bd3-b1ad-5ee590b05e87", "name": "cse-gve7lg", "jobId": 18638 }
Status Code
Status Code |
Description |
---|---|
200 |
ServiceComb |
400 |
Bad Request |
500 |
Internal Server Error |
Error Code
See CSE 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