Queries the services that are 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 uses only the common request header. For more information, see Common request parameters.

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.

Response parameters

Parameter Type Example Description
Code Integer 200

The HTTP status code.

ConsumedServicesList Array

The consumed services queried.

AppId String a5281053-08e4-47a5-b2ab-5c0323de7b5a

The ID of the application.

DockerApplication Boolean true

Indicates whether the application runs in a Docker container.

Group2Ip String ""

A reserved field for the consumed service.

Groups List "group"

The service group that corresponds to the consumed service.

Ips List 102.XX.XX.23

The address where the service can be subscribed to.

Name String service

The name of the consumed service.

Type String HSF

The type of the consumed service.

Version String 1.0

The version of the consumed service.

Message String success

The returned message that indicates whether the request is successful.

RequestId String a5281053-08e4-47a5-b2ab-5c0323de7b5a

The ID of the request.


Sample requests

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

Sample success responses

XML format


JSON format

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

Error codes

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