Queries the list of service providers.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ReadService |
get |
*Application
|
None | None |
Request syntax
POST /pop/sp/api/mseForOam/getServiceProvidersPage HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| region |
string |
No |
The region ID. |
cn-hangzhou |
| namespace |
string |
No |
The namespace ID. |
cn-hangzhou:doc-test |
| origin |
string |
No |
The data source. Valid values:
|
agent |
| serviceType |
string |
No |
The service type. Valid values:
|
dubbo |
| appId |
string |
No |
The application ID. |
efbda488-7b33-432f-a40d-****0047**** |
| source |
string |
No |
The source. Set the value to edas. |
edas |
| serviceId |
string |
No |
[Deprecated] The service ID. You do not need to pass a value for this parameter. |
com.alibabacloud.hipstershop.CartService |
| serviceName |
string |
No |
The service name. |
com.alibabacloud.hipstershop.CartService |
| serviceVersion |
string |
No |
The service version. |
1.0.0 |
| group |
string |
No |
The group. |
DUBBO |
| ip |
string |
No |
The IP address of the service provider. Fuzzy match is supported. |
10.20.x.xx |
| registryType |
string |
No |
[Deprecated] The registry type. You do not need to pass a value for this parameter. |
nacos |
| page |
integer |
No |
The page number of the list, starting from 0. |
0 |
| size |
integer |
No |
The number of rows per page in a paged query. |
10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The API response. |
||
| Code |
integer |
The status code of the API request. |
200 |
| Message |
string |
The message returned by the API request. |
success |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| Data |
object |
The data structure. |
|
| TotalPages |
integer |
The total number of pages. |
1 |
| TotalElements |
integer |
The total number of entries. |
1 |
| Size |
integer |
The page size. |
5 |
| Content |
array<object> |
The data array. |
|
|
object |
The data object. |
||
| Timeout |
string |
The service timeout period, in milliseconds. |
1000 |
| Ip |
string |
The IP address of the service provider. |
10.20.XX.XX |
| Port |
string |
The port number of the service provider. |
12345 |
| Iannotations |
string |
The annotation information of the service provider. |
172.178.XX.XX |
| SerializeType |
string |
The serialization type. |
hessian2 |
Examples
Success response
JSON format
{
"Code": 200,
"Message": "success",
"Success": true,
"Data": {
"TotalPages": 1,
"TotalElements": 1,
"Size": 5,
"Content": [
{
"Timeout": "1000",
"Ip": "10.20.XX.XX",
"Port": "12345",
"Iannotations": "172.178.XX.XX",
"SerializeType": "hessian2"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.