taobao.guangguang.content.trial.queryproducercontentdetail (查询达人作品详情)

查询达人作品详情

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
trial_base_request TrialBaseRequest 可选 请求参数
  • └ page_no
  • Number
  • 可选
  • 1
  • 页码
  • └ content_id
  • Number
  • 可选
  • 443034313881
  • 内容id
  • └ page_size
  • Number
  • 可选
  • 10
  • 分页大小

响应参数

名称 类型 示例值 描述
result MtopResult 返回参数
  • └ success
  • Boolean
  • true
  • 请求是否成功
  • model
  • ProducerContentDetailDTO
  • 返回参数
  • └ content_id
  • Number
  • 443034313881
  • 内容id
  • └ content_type
  • Number
  • 1
  • 内容类型: 1-article:图文 2-video:视频
  • └ publish_time
  • Date
  • 1703226131655
  • 作品发布时间
  • └ favor_count
  • Number
  • 11
  • 点赞数
  • └ collect_count
  • Number
  • 2
  • 收藏数
  • └ comment_count
  • Number
  • 23
  • 评论数
  • └ item_url
  • String
  • https://item.taobao.com/item.htm?id=584923469030
  • 挂链商品链接
  • └ title
  • String
  • aa
  • 标题
  • └ summary
  • String
  • 内容摘要
  • 内容摘要
  • └ cover_url
  • String
  • https://img.alicdn.com/imgextra/i2/6000000000615/O1CN011GPiUO8hKxBZe4V_!!6000000000615-0-tbvideo.jpg
  • 封面url
  • └ topic_id
  • Number
  • 438946574019
  • 话题id
  • └ topic_name
  • String
  • 陈芋汐力压全红婵夺冠
  • 话题名称
  • └ content_audit_status
  • Number
  • 1
  • 内容审核状态,-1:审核拒绝,0:待审核,1:审核通过,-2 违规,-3 不审核
  • └ video_url
  • String
  • https://daren-auth.alicdn.com/12d44507488eadfa/2c3605a4fe47303b/20231227_c953021efb9e3e6e_444247723821_80055022464096_published_mp4_264_hd_taobao.mp4?auth_key=1703925827-0-0-cfa70874016558e153009ede5408d0c6&biz=guangguang-8e566ee3f291da54&t=2132fa4c17036666277915658e9262&w=720&h=720&e=hd&b=guangguang&p=guangguang_gcm_content_detail&tr=mp4-264-hd&iss=false&v=taobao_v2
  • 视频链接
  • └ pic_url
  • String []
  • 图片链接
  • └ msg_info
  • String
  • system error
  • 错误信息
  • └ msg_code
  • String
  • 500
  • 错误码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
GuangguangContentTrialQueryproducercontentdetailRequest req = new GuangguangContentTrialQueryproducercontentdetailRequest();
GuangguangContentTrialQueryproducercontentdetailRequest.TrialBaseRequest obj1 = new GuangguangContentTrialQueryproducercontentdetailRequest.TrialBaseRequest();
obj1.setPageNo(1L);
obj1.setContentId(443034313881L);
obj1.setPageSize(10L);
req.setTrialBaseRequest(obj1);
GuangguangContentTrialQueryproducercontentdetailResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<guangguang_content_trial_queryproducercontentdetail_response>
    <result>
        <success>true</success>
        <model>
            <content_id>443034313881</content_id>
            <content_type>1</content_type>
            <publish_time>1703226131655</publish_time>
            <favor_count>11</favor_count>
            <collect_count>2</collect_count>
            <comment_count>23</comment_count>
            <item_url>https://item.taobao.com/item.htm?id=584923469030</item_url>
            <title>aa</title>
            <summary>内容摘要</summary>
            <cover_url>https://img.alicdn.com/imgextra/i2/6000000000615/O1CN011GPiUO8hKxBZe4V_!!6000000000615-0-tbvideo.jpg</cover_url>
            <topic_id>438946574019</topic_id>
            <topic_name>陈芋汐力压全红婵夺冠</topic_name>
            <content_audit_status>1</content_audit_status>
            <video_url>https://daren-auth.alicdn.com/12d44507488eadfa/2c3605a4fe47303b/20231227_c953021efb9e3e6e_444247723821_80055022464096_published_mp4_264_hd_taobao.mp4?auth_key=1703925827-0-0-cfa70874016558e153009ede5408d0c6&amp;biz=guangguang-8e566ee3f291da54&amp;t=2132fa4c17036666277915658e9262&amp;w=720&amp;h=720&amp;e=hd&amp;b=guangguang&amp;p=guangguang_gcm_content_detail&amp;tr=mp4-264-hd&amp;iss=false&amp;v=taobao_v2</video_url>
        </model>
        <msg_info>system error</msg_info>
        <msg_code>500</msg_code>
    </result>
</guangguang_content_trial_queryproducercontentdetail_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

返回
顶部