You can call this operation to query services consumed by an application.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation only uses common request headers. For more information, see the Common request parameters topic.

Request syntax

GET /pop/v5/service/listConsumedServices HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
AppId String Yes a66c5d1f-****-****-8c2b-6925f781b203

The ID of the application by which the services are consumed.

Response parameters

Parameter Type Example Description
Code Integer 200

The returned code.

Message String success

The returned message.

RequestId String a5281053-08e4-47a5-b2ab-5c0323de7b5a Request ID.
ConsumedServicesList Array

The returned list of consumed services.

AppId String a5281053-08e4-47a5-b2ab-5c0323de7****

The ID of the application where the consumed service is published.

DockerApplication Boolean true

Indicates whether the application where the consumed service is published is a Docker application.

Group2Ip String ""

A reserved field for the consumed service returned.

Name String service

The name of the consumed service returned.

Type String HSF

The type of the consumed service returned.

Version String 1.0

The version of the consumed service returned.

Groups List "group"

The service group corresponding to the consumed service returned.

Ips List 102.XX.XX.23

The address where the service can be subscribed.


Sample requests

GET /pop/v5/service/listConsumedServices HTTP/1.1
Common request headers
  "AppId": "a66c5d1f-****-****-8c2b-6925f781b203"

Sample success responses

JSON format

    "ConsumedServicesList": {
        "ListConsumedServices": []
    "Message": "success",
    "Code": 200

XML format


Error codes

For a list of error codes, visit the API Error Center.