Changes between Version 5 and Version 6 of Ticket #149


Ignore:
Timestamp:
07/26/2016 11:48:58 AM (10 years ago)
Author:
huangshaobiao
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #149 – Description

    v5 v6  
    1 '''1、直播列表接口''' 
     1'''1、期待直播列表接口''' 
    22'''请求URL:''' 
    3 http://pplive.pconline.com.cn/intf/broadcast_list.jsp 
     3http://live.pcvideo.com.cn/intf/broadcasting_list.jsp 
    44'''HTTP请求方式:'''get 
    5 '''是否需要登录:''' 
     5'''是否需要登录:''' 
    66'''返回格式:'''JSON 
    7 '''缓存时间:''' 
     7'''缓存时间:'''30分钟 
    88'''请求参数:''' 
    9  cid: 类别ID, long, 非必传; 
    10  max: 最大记录数, int, 非必传, 默认值5 
     9 max: 最大记录数, int, 非必传, 默认值4 
    1110'''返回参数:''' 
    1211{{{ 
    1312{ 
    14    size: 5, 
     13   size: 4, // 返回记录数 
    1514   list:[ 
    1615    { 
    1716      broadcastId: 1021, //直播ID 
    1817      title: "xxx", //标题 
    19       backgroudUrl: "http...", //背景图地址 
    20       url: "http...", //链接地址 
     18      backgroudSmUrl: "http...", //背景小图地址 
     19      videoUrl: "http...", //链接地址 
     20      videoTimeDesc: "正在直播", //时间描述字段 
     21      broadcastStatus: 0, //直播状态:-1 未开始,0 正在直播 
     22      startTime: "", //开始时间 
     23      endTime: "", //结束时间 
     24      remark: "", //简介 
     25      anchorList:[ 
     26        { 
     27           anchorId: 74, 
     28           nickname: "J·奥巴马", 
     29           anchorUrl: "http..." //主播链接地址 
     30         }, 
     31         ... 
     32      ] 
     33    }, 
     34    ... 
     35   ] 
     36} 
     37}}} 
     38 
     39'''2、直播回顾列表接口''' 
     40'''请求URL:''' 
     41http://live.pcvideo.com.cn/intf/broadcasted_list.jsp 
     42'''HTTP请求方式:'''get 
     43'''是否需要登录:'''否 
     44'''返回格式:'''JSON 
     45'''缓存时间:'''30分钟 
     46'''请求参数:''' 
     47 cid: 类别ID, long, 非必传; 
     48 max: 最大记录数, int, 非必传, 默认值4 
     49'''返回参数:''' 
     50{{{ 
     51{ 
     52   size: 4, 
     53   list:[ 
     54    { 
     55      broadcastId: 1021, //直播ID 
     56      title: "xxx", //标题 
     57      backgroudSmUrl: "http...", //背景小图地址 
     58      videoUrl: "http...", //链接地址 
    2159      browseNum: 110, //访问量 
    22       commentNum: 50, //评论数 
     60      duration: "3:30", //时长 
    2361      anchorList:[ 
    2462        { 
     
    2664           nickname: "J·奥巴马", 
    2765           photoUrl: "http...", //头像地址 
    28            viewUrl: "http..." //主播链接地址 
     66           anchorUrl: "http..." //主播链接地址 
    2967         }, 
    3068         ...