Queries published services.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadService |
get |
*Application
|
None | None |
Request syntax
GET /pop/v5/service/listPublishedServices HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
The application ID. |
1fbd8b72-****-****-bdfe-478dbc914121 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The response code. |
200 |
| Message |
string |
The returned message. |
success |
| RequestId |
string |
The unique ID of the request. |
1D6FC-4307-4583-BA6F-215F3857E**** |
| PublishedServicesList |
object |
||
| ListPublishedServices |
array<object> |
The list of published services. |
|
|
array<object> |
|||
| DockerApplication |
boolean |
Indicates whether the application is a Docker application.
|
false |
| Type |
string |
The type of the published service. |
RESTful |
| Version |
string |
The version of the published service. |
-- |
| AppId |
string |
The application ID. |
ECD1D6FC-4307-4583-BA6F-215F3857E**** |
| Group2Ip |
string |
This is a reserved field. |
"" |
| Name |
string |
The name of the published service. |
providers:com.**** |
| Ips |
object |
||
| ip |
array |
||
|
string |
The IP address for service subscription. |
112.XX.XX.24 |
|
| Groups |
object |
||
| group |
array |
||
|
string |
The group to which the published service belongs. |
DEFAULT_GROUP |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"RequestId": "1D6FC-4307-4583-BA6F-215F3857E****",
"PublishedServicesList": {
"ListPublishedServices": [
{
"DockerApplication": false,
"Type": "RESTful",
"Version": "--",
"AppId": "ECD1D6FC-4307-4583-BA6F-215F3857E****",
"Group2Ip": "\"\"",
"Name": "providers:com.****",
"Ips": {
"ip": [
"112.XX.XX.24"
]
},
"Groups": {
"group": [
"DEFAULT_GROUP"
]
}
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.