Querying the Service Transaction List
Function
This API is used to query the transaction list of a specified service.
URI
GET /v1/{project_id}/ats/applications/{application}/transactions
Request
Parameter |
Description |
Mandatory |
Example |
---|---|---|---|
clusterId |
Cluster ID. |
No |
default |
namespace |
Namespace. |
No |
manage |
Parameter |
Type |
Description |
---|---|---|
project_id |
String |
Project ID. |
application |
String |
Service name. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
monitorGroup |
Yes |
String |
Application name. For details, see Querying the Application List. |
Example request
/v1/0/ats/applications/ams-metric:8080/transactions?monitorGroup=11d5c9b83c1b2e04579fa5a34d191bb5
Response
Parameter |
Type |
Description |
---|---|---|
errorCode |
String |
Error code. SVCSTG.ATS.2000: Query succeeded. SVCSTG.ATS.400101: Parameter verification failed. SVCSTG.ATS.200103: No transaction information found. |
errorMessage |
String |
Description of the error. |
responseInfo |
List (string) |
Transaction list of a specified service. |
Example response
{ "errorCode": "SVCSTG.ATS.2000", "errorMessage":null, "responseInfo": [ "/amsalarm/v1/alarm/{project_id}" ] }
Status Code
- Success response
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