查询服务方法列表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求头
该接口使用公共请求头,无特殊请求头。请参见公共请求参数文档。
请求语法
GET /pop/v5/service/list_methods HTTP/1.1
请求参数
名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
AppId | String | 是 | test |
应用ID |
ServiceName | String | 是 | testMethod |
服务名称 |
返回数据
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
Code | Integer | 200 |
code 码 |
Message | String | success |
详细信息 |
RequestId | String | test |
请求 ID |
ServiceMethodList |
返回的服务方法列表 |
||
ServiceMethod |
返回的服务方法列表 |
||
AppName | String | Apptest |
应用名称 |
InputParams | test |
方法入参列表 |
|
InputParam |
方法入参列表 |
||
MethodName | String | TestMethod |
方法名称 |
Output | String | 2 |
方法返回类型 |
ParamTypes | 3 |
方法入参类型列表 |
|
ParamType |
方法入参类型列表 |
||
ServiceName | String | TestService |
服务名称 |
示例
请求示例
GET /pop/v5/service/list_methods HTTP/1.1
公共请求头
{
"AppId": "test"
"ServiceName": "testMethod"
}
正常返回示例
XML
格式
<Message>success</Message>
<ServiceMethodList>
</ServiceMethodList>
<Code>200</Code>
JSON
格式
{
"Message":"success",
"ServiceMethodList":{
"ServiceMethod":[]
},
"Code":200
}
错误码
访问错误中心查看更多错误码。
在文档使用中是否遇到以下问题
更多建议
匿名提交