Queries service methods.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /pop/sp/api/mseForOam/getServiceMethodPage
GET /pop/sp/api/mseForOam/getServiceMethodPage
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
region | string | No | The ID of the region. | cn-hangzhou |
namespace | string | No | The ID of the namespace. | cn-hangzhou:doc-test |
origin | string | No | The source of the data. Valid values:
| agent |
serviceType | string | No | The type of the service. Valid values:
| springCloud |
appId | string | No | The ID of the application. | 310b18c3-1dbe-4807-****-18d7d637**** |
source | string | No | The source of the service. Set the value to edas. | edas |
serviceId | string | No | The ID of the service. | edas.service.consumer |
serviceName | string | No | The name of the service. | edas.service.consumer |
serviceVersion | string | No | The version of the service. | 1.0.0 |
group | string | No | The group to which the service belongs. | DUBBO |
ip | string | No | The IP address of the service. | 127.0.0.1 |
registryType | string | No | The type of the service registry. | nacos |
pageNumber | integer | No | The number of the page to return. | 1 |
pageSize | integer | No | The number of entries to return on each page. | 10 |
methodController | string | No | The controller method. | com.aliware.edas.DemoController |
path | string | No | The request path. | /echo/{str} |
name | string | No | The name of the method. | echo |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "success",
"HttpCode": "200",
"RequestId": "BDC0C0FE-D63B-4FC8-****-4081C57E****",
"Success": true,
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalSize": 6,
"Result": [
{
"ParameterDetails": "{}",
"NameDetail": "name",
"ParameterNames": "echo",
"ParameterDefinitions": "[{\"description\":\"\",\"name\":\"arg0\",\"type\":\"java.lang.String\"}]",
"Paths": "/consumer/alive",
"ParameterTypes": "java.lang.String",
"RequestMethods": "GET",
"ReturnDetails": "java.lang.String",
"Name": "echo",
"MethodController": "com.aliware.edas.EchoController",
"ReturnType": "java.lang.String",
"ReturnDefinition": {
"Type": "java.lang.String",
"Id": "1"
}
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.