Queries the services that are consumed by an application.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /pop/v5/service/listConsumedServices
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
AppId | string | Yes | The ID of the application. | a66c5d1f-****-****-8c2b-6925f781b203 |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": 200,
"Message": "success",
"RequestId": "a5281053-08e4-47a5-b2ab-5c0323de7b5a",
"ConsumedServicesList": {
"ListConsumedServices": [
{
"DockerApplication": true,
"Type": "HSF",
"Version": "1.0",
"AppId": "a5281053-08e4-47a5-b2ab-5c0323de7b5a",
"Group2Ip": "\"\"",
"Name": "service",
"Ips": {
"ip": [
"102.XX.XX.23"
]
},
"Groups": {
"group": [
"”group“"
]
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.