文档中心 > API类目 > 数娱媒资输出

taobao.vmac.normal.pagevideo.get (批量获取节目信息)

批量获取节目信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
app_id String 可选 1212121212 厂商ID
show_id String 可选 dsdsdsdsd 节目ID
page_size Number 可选 10 每页条数
offset Number 可选 0 偏移量

响应参数

名称 类型 示例值 描述
result ResultDto -- --
  • └ detail_message
  • String
  • --
  • top响应信息
  • result_code
  • VmacResultCode
  • --
  • --
  • └ code
  • String
  • --
  • 响应码
  • └ message
  • String
  • --
  • 服务端响应信息
  • value
  • VideoPageResultDto
  • --
  • --
  • └ has_next_page
  • Boolean
  • true
  • 是否有下一页
  • └ offset
  • Number
  • 947540
  • 偏移量
  • video_list
  • VideoOuterDto []
  • --
  • --
  • └ web_url
  • String
  • http://v.youku.com/v_show/id_XMTgyMjY3NjU3Ng==.html
  • 网址
  • └ source_type
  • String
  • YOUKU
  • 来源类型
  • └ video_stage
  • Number
  • 20161120
  • 期号、集号
  • └ media_url
  • String
  • --
  • 媒资地址
  • └ status
  • String
  • 发布
  • 状态
  • └ show_id
  • String
  • d96ea9ba74eb11e69e06
  • 节目ID
  • └ panorama
  • Boolean
  • false
  • 是否全景
  • └ video_type
  • String
  • 预告片
  • 视频类型
  • └ category
  • String
  • 综艺
  • 视频分类
  • └ license_list
  • String []
  • --
  • 牌照列表
  • └ paid
  • Number
  • 0
  • 是否收费,1=收费 0=免费
  • └ title
  • String
  • 【预告】年度盛典重磅来袭
  • 标题
  • └ duration
  • Number
  • 60.09
  • 视频时长(秒)
  • └ release_date
  • String
  • --
  • 发行时间
  • └ small_thumb_url
  • String
  • http://cn-vmc-images.alicdn.com/vmac/11000000054102015A16D0118B78D21F02048691?x-oss-process=image/resize,p_45
  • 海报缩略图
  • └ description
  • String
  • --
  • 描述
  • └ definition_list
  • String []
  • --
  • 清晰度列表,DEF_FLUENCY=流畅清晰度,DEF_NORMAL=普通清晰度,DEF_HIGH=高清清晰度,DEF_SUPER=超清/720P清晰度,DEF_FHD=超高清/1080P清晰度,DEF_4K=4K清晰度
  • └ sequence
  • String
  • 102
  • 节目中视频的集数或期数
  • └ video_id
  • String
  • XMTgyMjY3NjU3Ng==
  • 视频ID
  • └ thumb_url
  • String
  • http://cn-vmc-images.alicdn.com/vmac/11000000054102015A16D0118B78D21F02048691
  • 海报
  • └ language_list
  • String
  • --
  • 语言列表
  • └ rc_title
  • String
  • --
  • 推荐标题
  • └ video_ep
  • Number
  • 1
  • 第几期
  • └ success
  • Boolean
  • false
  • success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
VmacNormalPagevideoGetRequest req = new VmacNormalPagevideoGetRequest();
req.setAppId("1212121212");
req.setShowId("dsdsdsdsd");
req.setPageSize(10L);
req.setOffset(0L);
VmacNormalPagevideoGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<vmac_normal_pagevideo_get_response>
    <result>
        <detail_message>--</detail_message>
        <result_code>
            <code>--</code>
            <message>--</message>
        </result_code>
        <value>
            <has_next_page>true</has_next_page>
            <offset>947540</offset>
            <video_list>
                <video_outer_dto>
                    <web_url>http://v.youku.com/v_show/id_XMTgyMjY3NjU3Ng==.html</web_url>
                    <source_type>YOUKU</source_type>
                    <video_stage>20161120</video_stage>
                    <media_url>--</media_url>
                    <status>发布</status>
                    <show_id>d96ea9ba74eb11e69e06</show_id>
                    <panorama>false</panorama>
                    <video_type>预告片</video_type>
                    <category>综艺</category>
                    <license_list>
                        <string>--</string>
                    </license_list>
                    <paid>0</paid>
                    <title>【预告】年度盛典重磅来袭</title>
                    <duration>60.09</duration>
                    <release_date>--</release_date>
                    <small_thumb_url>http://cn-vmc-images.alicdn.com/vmac/11000000054102015A16D0118B78D21F02048691?x-oss-process=image/resize,p_45</small_thumb_url>
                    <description>--</description>
                    <definition_list>
                        <string>--</string>
                    </definition_list>
                    <sequence>102</sequence>
                    <video_id>XMTgyMjY3NjU3Ng==</video_id>
                    <thumb_url>http://cn-vmc-images.alicdn.com/vmac/11000000054102015A16D0118B78D21F02048691</thumb_url>
                    <language_list>--</language_list>
                    <rc_title>--</rc_title>
                    <video_ep>1</video_ep>
                </video_outer_dto>
            </video_list>
        </value>
        <success>false</success>
    </result>
</vmac_normal_pagevideo_get_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部