跳到主要内容

未列出页
此页面未列出。搜索引擎不会对其索引,只有拥有直接链接的用户才能访问。

获取所有公众号

获取所有公众号。

请求方法

GET:https://<your-domain-url>/media-platform/mc/get.json

请求示例

GET /media-platform/mc/get.json HTTP/1.1
Host: your-domain-url
App-Key: uwd1c0sxdlx2
Timestamp: 1408710653491
Nonce: 14314
Signature: 45beb7cc7307889a8e711219a47b7cf6a5b000e8

返回结果

HTTP 响应正文包含具有以下结构的 JSON 对象:

字段类型描述
codeInt返回码,200 为正常。
mcIdInt公众号账号 Id, 具有唯一性(必传)。
displayNameInt公众号显示名称。
portraitUrlInt公众号的头像地址。
introductionInt公众号说明。
routeUrlInt公众号消息路由地址,如设置会优先路由到该地址;如未设置,会统一路由到 FCS 消息路由地址;

返回结果示例

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8

{
"mclist": [
{
"mcId": "xyz123445",
"displayName": "Name",
"portraitUrl": "http://baidu.com/1.jpg",
"introduction": "How to improve",
"routeUrl": "http://baidu.com"
},
{
"mcId": "432141faf",
"displayName": "Name 2",
"portraitUrl": "http://baidu.com/3.jpg",
"introduction": "How to improves",
"routeUrl": "http://baidu.com"
}
],
"code": 200
}