文档中心 > API类目 > 淘宝小程序API

taobao.miniapp.model.deploywindow.query (小程序DeployWindow模型查询)

小程序DeployWindow模型查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
model_key String 必须 {"id":"24531"} 查询入参

响应参数

名称 类型 示例值 描述
data DeployWindowDoModel 返回的数据实体
  • └ gmt_modified
  • Number
  • 1541204542331
  • 更新时间
  • └ ios_client_max
  • String
  • 100.0.0
  • ios客户端最大版本
  • └ app_id
  • String
  • 2017041206668232
  • 应用ID
  • └ gmt_create
  • Number
  • 1539094844156
  • 创建时间
  • └ inst_id
  • Number
  • 1
  • 租户ID
  • └ platform_ios
  • Number
  • 1
  • ios平台
  • └ android_client_min
  • String
  • 10.0.8
  • 安卓最小版本
  • └ client_id
  • Number
  • 4
  • 客户端
  • └ version
  • String
  • 0.3
  • 版本
  • └ id
  • Number
  • 24531
  • ID
  • └ android_client_max
  • String
  • 100.0.0
  • 安卓最大版本
  • └ name
  • String
  • ofo小黄车
  • 名称
  • └ deploy_package_id
  • Number
  • 22001181
  • 包ID
  • └ platform_android
  • Number
  • 1
  • 安卓平台
  • └ ios_client_min
  • String
  • 10.0.8
  • IOS客户端最大版本
  • └ android_instance_id
  • Number
  • 920729
  • 安卓实例ID
  • └ ios_instance_id
  • Number
  • 920728
  • IOS实例ID

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
MiniappModelDeploywindowQueryRequest req = new MiniappModelDeploywindowQueryRequest();
req.setModelKey("{\"id\":\"24531\"}");
MiniappModelDeploywindowQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<miniapp_model_deploywindow_query_response>
    <data>
        <gmt_modified>1541204542331</gmt_modified>
        <ios_client_max>100.0.0</ios_client_max>
        <app_id>2017041206668232</app_id>
        <gmt_create>1539094844156</gmt_create>
        <inst_id>1</inst_id>
        <platform_ios>1</platform_ios>
        <android_client_min>10.0.8</android_client_min>
        <client_id>4</client_id>
        <version>0.3</version>
        <id>24531</id>
        <android_client_max>100.0.0</android_client_max>
        <name>ofo小黄车</name>
        <deploy_package_id>22001181</deploy_package_id>
        <platform_android>1</platform_android>
        <ios_client_min>10.0.8</ios_client_min>
        <android_instance_id>920729</android_instance_id>
        <ios_instance_id>920728</ios_instance_id>
    </data>
</miniapp_model_deploywindow_query_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

返回
顶部