一类节点--微服务治理中心mse-获取服务接口列表
接口功能介绍
调用getServiceInterfaceList接口获取服务接口列表
接口约束
无
URI
GET /msgc/v1/service/interfaceList
路径参数
无
Query参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
paramType | 是 | Integer | paramValue的类型 1代表查请求路径 2代表查方法名 3代表查所属类 | 1 | |
paramValue | 否 | String | 查询参数 | demo-app | |
serviceId | 是 | Integer | 服务id | 1 | |
pageNum | 是 | Integer | 页码 | 1 | |
pageSize | 是 | Integer | 单页个数 | 10 |
请求参数
请求头header参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
regionId | 是 | String | 资源池ID | bb9fdb42056f11eda161xxxxxxxxx | |
msnamespace | 是 | String | 环境参数 | default |
请求体body参数
无
响应参数
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
statusCode | Integer | 响应编码 2000 success | 2000 | |
returnObj | Object | 返回体 | returnObj | |
msssage | String | 消息内容 | String |
表 returnObj
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
methodController | String | 方法Controller | com.text.xxxx | |
methodName | String | 方法名 | testMethod | |
parameterTypes | String | 请求参数 | com.text.xxx | |
requestPath | String | 请求路径 | /test/testMethod | |
path | String | 路径 | /test/testMethod | |
requestMethod | String | 请求方法 | POST |
枚举参数
无
请求示例
请求url
无
请求头header
无
请求体body
无
响应示例
{
" statusCode ":200,
"message":"success",
" returnObj ":{
"total":1,
"list":[
{
"methodController":"com.text.xxxx",
"methodName":"testMethod",
"parameterTypes":"com.text.xxx",
"requestPath":"/test/testMethod",
"path":"/test/testMethod",
"requestMethod":"POST"
}
],
"pageNum":1,
"pageSize":10,
"size":1,
"startRow":1,
"endRow":1,
"pages":1,
"prePage":0,
"nextPage":0,
"isFirstPage":true,
"isLastPage":true,
"hasPreviousPage":false,
"hasNextPage":false,
"navigatePages":8,
"navigatepageNums":[
1
],
"navigateFirstPage":1,
"navigateLastPage":1
}
}