查询连接器订阅信息(API名称:findConnSubscribeList)
功能介绍
查询连接器订阅信息
相关接口
接口名称 | 调用说明 |
|---|---|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
请求方式 | HTTPS地址 | 服务架构 | 消息体类型 |
|---|---|---|---|
POST | https://isdp+域名/openapi/v1/connSubscribe/findConnSubscribeList | OpenAPI | application/json |
请求头
KEY | VALUE | 是否必填 | 描述 |
|---|---|---|---|
Content-Type | application/json | 是 | 无 |
Authorization | bearer ${access_token} | 是 | bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
参数 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
po.connectorCode | String | 否 | 连接器编码,支持右模糊查询 |
po.connectorName | String | 否 | 连接器名称,支持右模糊查询 |
po.connectorType | String | 否 | 连接器类型,精准匹配:map/sms/weather |
page.start | Integer | 是 | 分页起始下标 |
page.count | Integer | 是 | 每页数 |
响应参数
参数 | 类型 | 描述 |
|---|---|---|
subscribeId | Long | 连接器订阅ID |
connectorId | Long | 连接器ID |
connectorCode | String | 连接器编码 |
connectorName | String | 连接器名称 |
connectorType | String | 连接器类型Lookup: CONNECTOR_TYPE |
authType | String | 认证方式Lookup: AUTH_TYPE |
appDesc | String | 描述 |
lastUpdateDate | Date | 更新时间 |
params | String | 参数 |
ak | String | Ak值,认证方式=AK时 |
sk | String | Sk值,认证方式=AK+SK时 |
connectorProvider | String | 供应商类型/连接器提供者Lookup: CONNECTOR_Provider |
请求示例
{
"po.connectorCode": "Baidu",
"po.connectorName": "",
"po.connectorType": "map",
"page.start": 0,
"page.count": 15
} 响应示例
{
"data": [
{
"subscribeId": 55,
"connectorId": 54,
"connectorCode": "Baidu",
"connectorName": "百度地图",
"connectorProvider": "Baidu",
"connectorType": "map",
"authType": "ak",
"appDesc": "",
"lastUpdateDate": "2022-06-15T10:57:25",
"params": "",
"ak": "abc",
"sk": ""
}
],
"pos": 0,
"totalCount": 1,
"entityName": null
} 
