Ticket #149 (new Bug) — at Version 1
直播频道接口说明
| Reported by: | huangshaobiao | Owned by: | huangshaobiao |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | 直播频道 | Version: | |
| Keywords: | 接口 | Cc: | |
| Due Date: | 20/07/2016 |
Description (last modified by huangshaobiao) (diff)
1、直播列表接口
请求URL:
http://pplive.pconline.com.cn/intf/broadcast_list.jsp
HTTP请求方式:get
是否需要登录:是
返回格式:JSON
缓存时间:无
请求参数:
cid: 类别ID, long, 非必传;
max: 最大记录数, int, 非必传, 默认值5
返回参数:
{
size: 5,
list:[
{
broadcastId: 1021, //直播ID
title: "xxx", //标题
backgroudUrl: "http...", //背景图地址
url: "http...", //链接地址
browseNum: 110, //访问量
commentNum: 50, //评论数
anchorList:[
{
anchorId: 74,
nickname: "J·奥巴马",
photoUrl: "http...", //头像地址
viewUrl: "http..." //主播链接地址
},
...
]
},
...
]
}
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)