Queries the service list.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadService |
get |
*NameSpace
|
None | None |
Request syntax
POST /pop/sp/api/mseForOam/getServiceListPage HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| region |
string |
No |
The region. |
cn-hangzhou |
| namespace |
string |
No |
The namespace. |
cn-hangzhou:doc-test |
| origin |
string |
No |
The data source. Valid values:
|
Agent |
| serviceType |
string |
No |
The service type. Valid values:
|
SpringCloud |
| searchType |
string |
No |
The search type. Valid values:
|
App |
| searchValue |
string |
No |
The search keyword:
|
com.alibaba.edas.HelloService |
| side |
string |
No |
The provider or consumer side. Valid values:
|
provider |
| page |
integer |
No |
The page number, starting from 0. |
0 |
| size |
integer |
No |
The number of rows per page in a paging query. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| Code |
integer |
The operation status or POP error code. |
200 |
| Message |
string |
The message returned by the request. |
success |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| Data |
object |
The data. |
|
| TotalPages |
integer |
The total number of pages. |
1 |
| TotalElements |
integer |
The total number of entries. |
6 |
| Size |
integer |
The page size. |
8 |
| Content |
array<object> |
The data entries. |
|
|
object |
The data structure. |
||
| EdasAppName |
string |
The application name. |
k8s-lq-cartservice |
| InstanceNum |
integer |
The number of instances. |
1 |
| Version |
string |
The version number. |
1.0.0 |
| ServiceId |
string |
The service ID. |
xx |
| EdasAppId |
string |
The application ID. |
efbda488-7b33-432f-****-36530047**** |
| ServiceName |
string |
The service name. |
com.alibabacloud.hipstershop.CartService |
| RegisterType |
string |
The registration type. |
xx |
| Group |
string |
The group. |
DUBBO |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"Success": true,
"Data": {
"TotalPages": 1,
"TotalElements": 6,
"Size": 8,
"Content": [
{
"EdasAppName": "k8s-lq-cartservice",
"InstanceNum": 1,
"Version": "1.0.0",
"ServiceId": "xx",
"EdasAppId": "efbda488-7b33-432f-****-36530047****",
"ServiceName": "com.alibabacloud.hipstershop.CartService",
"RegisterType": "xx",
"Group": "DUBBO"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.