Querying a Service List
Function
This API is used to query a service list.
URI
GET /v1/{projectId}/ats/applications
Request
Path parameters
Table 1 describes the path parameter.
Request parameters
Table 2 describes the request parameter.
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
monitorGroup |
Yes |
String |
Application ID. See the responseInfo field in the response of Querying an Application List. |
Example request
/v1/0/ats/applications?monitorGroup=11d5c9b83c1b2e04579fa5a34d191bb5
Response
Response parameters
Table 3 describes the response parameters.
Parameter |
Type |
Description |
---|---|---|
errorCode |
String |
Error code. SVCSTG.ATS.2000: Query succeeded. SVCSTG.ATS.400101: Parameter verification failed. SVCSTG.ATS.200103: No service information found. |
errorMessage |
String |
Error message. |
responseInfo |
List (string) |
Service name list (including port information). See the following example response. |
Example response
{ "errorCode": "SVCSTG.ATS.2000", "errorMessage":null, "responseInfo": ["ams-calc:8080","ams-metric:8080"] }
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