文档中心 > Developing documentation(已废弃)

aliexpress.photobank.redefining.listimagepagination (图片银行列表分页查询)

图片银行列表分页查询,当查询的页数超过150页的时候,一分钟只能查5次,请调整查询频次

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
aeop_image_pagination_request AeopImagePaginationRequest 可选 none
  • └ current_page
  • Number
  • 可选
  • 0
  • 当前页码
  • └ group_id
  • String
  • 可选
  • 0
  • 图片组id
  • └ location_type
  • String
  • 可选
  • 0
  • 图片存放位置.可选值:allGroup(所有分组), temp(被禁用的图片), subGroup(某一分组), unGroup(非分组). 如果locationType参数值为allGroup,temp,unGroup时,将忽略groupId参数。 如果locationType的参数值为subGroup,须指定groupId参数。
  • └ page_size
  • Number
  • 可选
  • 0
  • 默认18个,最大值 50

响应参数

名称 类型 示例值 描述
result AeopImagePaginationResult 0 result
  • images
  • AeopImage []
  • [ { "fileSize":36668, "height":276, "iid":3207108923, "width":223, "referenceCount":0, "displayName":"image", "url":"http://g01.a.alicdn.com/kf/HTB1PHDKGVXXXXa5XXXXq6xXFXXXK/200042360/HTB1PHDKGVXXXXa5XXXXq6xXFXXXK.jpg" }, { "fileSize":194362, "height":850, "iid":3207108922, "width":730, "referenceCount":0, "displayName":"image", "url":"http://g01.a.alicdn.com/kf/HTB1PtfIGVXXXXajXpXXq6xXFXXXi/200042360/HTB1PtfIGVXXXXajXpXXq6xXFXXXi.jpg" } ]
  • 本次查询结果返回的图片列表。
  • └ display_name
  • String
  • 10 E14 6W Warm White 30 SMD LED Spotlight Light Lamp Bulb
  • 这张图片在图片银行中名称。可以根据这个值在图片银行中搜索到对应的图片。
  • └ file_size
  • Number
  • 35151
  • 这张图片的大小。单位:字节(B)。
  • └ gmt_create
  • Date
  • 0
  • gmtCreate
  • └ gmt_modified
  • Date
  • 0
  • gmtModified
  • └ group_id
  • String
  • 1
  • 图片银行产品分组ID
  • └ height
  • Number
  • 421
  • 这张图片的高度。单位:像素。
  • └ iid
  • Number
  • 3207108922
  • 这张图片在图片银行中的ID。
  • └ reference_count
  • Number
  • 0
  • 这张图片被引用的次数。
  • └ status
  • String
  • 0
  • status
  • └ url
  • String
  • http://g03.a.alicdn.com/kf/HTB1PP5AGVXXXXaIXXXXq6xXFXXXN/200042360/HTB1PP5AGVXXXXaIXXXXq6xXFXXXN.jpg
  • 这张图片的URL。可以将这个URL添加到产品的主图或者详描中。
  • └ width
  • Number
  • 588
  • 这张图片的宽度。单位:像素。
  • query
  • AeopImagePaginationRequest
  • {"groupId":"1","pageSize":300,"currentPage":2}
  • 当前参数组成的查询对象。
  • └ current_page
  • Number
  • 1
  • 当前页的值
  • └ group_id
  • String
  • 1
  • 图片银行产品分组ID
  • └ location_type
  • String
  • 0
  • locationType
  • └ page_size
  • Number
  • 19
  • 每页的记录数
  • └ success
  • Boolean
  • true
  • 本次调用是否成功。
  • └ total
  • Number
  • 1468
  • 当前分组下的图片总数。如果locationType取值为"allGroup", 则为这个用户的图片总数。
  • └ total_page
  • Number
  • 23
  • 本次查询结果分页的页数。
  • └ error_code
  • Number
  • 16009999
  • 错误代码
  • └ error_message
  • String
  • 系统异常!
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AliexpressPhotobankRedefiningListimagepaginationRequest req = new AliexpressPhotobankRedefiningListimagepaginationRequest();
AliexpressPhotobankRedefiningListimagepaginationRequest.AeopImagePaginationRequest obj1 = new AliexpressPhotobankRedefiningListimagepaginationRequest.AeopImagePaginationRequest();
obj1.setCurrentPage(0L);
obj1.setGroupId("0");
obj1.setLocationType("0");
obj1.setPageSize(0L);
req.setAeopImagePaginationRequest(obj1);
AliexpressPhotobankRedefiningListimagepaginationResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<aliexpress_photobank_redefining_listimagepagination_response>
    <result>
        <images>
            <aeop_image>
                <display_name>10 E14 6W Warm White 30 SMD LED Spotlight Light Lamp Bulb</display_name>
                <file_size>35151</file_size>
                <gmt_create>0</gmt_create>
                <gmt_modified>0</gmt_modified>
                <group_id>1</group_id>
                <height>421</height>
                <iid>3207108922</iid>
                <reference_count>0</reference_count>
                <status>0</status>
                <url>http://g03.a.alicdn.com/kf/HTB1PP5AGVXXXXaIXXXXq6xXFXXXN/200042360/HTB1PP5AGVXXXXaIXXXXq6xXFXXXN.jpg</url>
                <width>588</width>
            </aeop_image>
        </images>
        <query>
            <current_page>1</current_page>
            <group_id>1</group_id>
            <location_type>0</location_type>
            <page_size>19</page_size>
        </query>
        <success>true</success>
        <total>1468</total>
        <total_page>23</total_page>
        <error_code>16009999</error_code>
        <error_message>系统异常!</error_message>
    </result>
</aliexpress_photobank_redefining_listimagepagination_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

返回
顶部