进入新版

联系电话: 400-158-8816

产品咨询:

电话咨询

400-158-8816

不通过视频列表

发布于:2013-09-28 13:52来源:未知 作者:保利威 点击:

getNotPassList


    作用:获取用户不能通过审核的视频列表
 

URL


    http://v.polyv.net/uc/services/rest?method=getNotPassList
 

支持格式


    XML/JSON
 

HTTP请求方式


    POST,GET
 

请求数限制


    TRUE
 

请求参数


    必选 类型及范围 说明
    readtoken ture string 用户的读取钥匙
    pageNum ture int 取第几条数据
    numPerPage false int 取出来的数据集合条数的数目
    format false string 默认返回json格式,如果format=xml返回xml格式
    jsonp false string 例如,正常情况{error:0,data:""},加 jsonp=a后返回a({error:0,data:""})
 

注意事项


返回错误列表 


    返回error状态:0无错误,1找不到writetoken关联的user,2文件为空或者writetoken为空,3提交的json名字JSONRPC为null,4提交文件格式不正确,5readtoken为空,6分页输入出错,7vid不能为空,8找不到方法名
 

返回结果

<xml>
<error>0</error>
<data>
<video>
<swf_link>http://v.polyv.net/player/Player.swf?vid=3a23e8721a5da8823e53128abca5764c_3</swf_link>
<duration>00:01:46.32</duration>
<title>13993026</title>
<first_image>http://v.polyv.net/uimage/3/3BGEYCaPIV/c/3a23e8721a5da8823e53128abca5764c_0.jpg</first_image>
<times>4</times>
<tag/>
<context/>
<ptime>2011-08-30 13:21:50</ptime>
<vid>3a23e8721a5da8823e53128abca5764c_3</vid>
</video>
<video>
<swf_link>http://v.polyv.net/player/Player.swf?vid=fe120de86566b906b3d40c0a24054aa2_3</swf_link>
<duration>00:02:25.53</duration>
<title>yy5</title>
<first_image>http://v.polyv.net/uimage/3/3BGEYCaPIV/2/fe120de86566b906b3d40c0a24054aa2_0.jpg</first_image>
<times>11</times>
<tag/>
<context/>
<ptime>2011-08-30 09:38:41</ptime>
<vid>fe120de86566b906b3d40c0a24054aa2_3</vid>
</video>
</data>
</xml>


JSON示例

 {"error":"0","data":
    [{"swf_link":"http://v.polyv.net/player/Player.swf?vid=3a23e8721a5da8823e53128abca5764c_3",
      "duration":"00:01:46.32",
      "title":"13993026",      "first_image":"http://v.polyv.net/uimage/3/3BGEYCaPIV/c/3a23e8721a5da8823e53128abca5764c_0.jpg",
      "times":"3",
      "tag":"",
      "context":"",
      "ptime":"2011-08-30 13:21:50",
      "vid":"3a23e8721a5da8823e53128abca5764c_3"
     },{
      "swf_link":"http://v.polyv.net/player/Player.swf?vid=fe120de86566b906b3d40c0a24054aa2_3",
      "duration":"00:02:25.53",
      "title":"yy5",
        "first_image":"http://v.polyv.net/uimage/3/3BGEYCaPIV/2/fe120de86566b906b3d40c0a24054aa2_0.jpg",
      "times":"11",
      "tag":"",
      "context":"",
      "ptime":"2011-08-30 09:38:41",
      "vid":"fe120de86566b906b3d40c0a24054aa2_3"
      }]}

 

字段说明


   #error:错误提示
   #swf_link: 返回flash连接
   #duration:返回时长
   #title:标题
   #first_image:视频图片
   #times:点击次数
   #tag:标签
   #context:内容
   #ptime:上传时间
   #vid:视频id
 
tag标签:
------分隔线----------------------------
------分隔线----------------------------