Querying Stack Information
Function
This API is used to query stack information.
URI
GET /v2/{engine}/{project_id}/diagnosis/stack/{stack_id}
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| engine | Yes | String | Definition Engine. Constraints N/A Range Default Value N/A |
| project_id | Yes | String | Definition Project ID. For details about how to obtain it, see Obtaining a Project ID. Constraints N/A Range N/A Default Value N/A |
| stack_id | Yes | String | Definition: Stack ID. Constraints: N/A Range: N/A Default Value: N/A |
Request Parameters
None
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| thread_name | String | Definition Thread name. Constraints N/A Range N/A Default Value N/A |
| stack | String | Definition Stack information of the client. Constraints N/A Range N/A Default Value N/A |
Example Requests
Querying stack information
GET https://{endpoint}/v2/{engine}/{project_id}/diagnosis/stack/{stack_id} Example Responses
Status code: 200
Queried.
{
"thread_name" : "name",
"stack" : "xxxxxxxxxxxxxxxx"
} Status Codes
| Status Code | Description |
|---|---|
| 200 | Queried. |
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