文档中心 > API类目 > 书旗内容文巢

alibaba.shuqi.algorithm.config.schema.list (schema列表)

schema列表

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
schema_id String 可选 123 schemaId
page_size Number 可选 10 pageSize
page Number 可选 1 page

响应参数

名称 类型 示例值 描述
result CommonResponse 返回结构
  • data
  • SchemaInfoListResp
  • 返回数据
  • └ total
  • Number
  • 1
  • total
  • schema_info_list
  • SchemaInfoResp []
  • schema列表数据
  • └ id
  • Number
  • 1
  • id
  • └ schema_id
  • String
  • 123
  • schemaId
  • buckets
  • Bucket []
  • q
  • buckets
  • └ bucket_id
  • String
  • 1
  • bucketId
  • └ bucket_name
  • String
  • 分桶名称
  • bucketName
  • └ test_name
  • String
  • 实验组名称
  • testName
  • └ ratio
  • String
  • 0,20
  • ratio
  • └ operator
  • String
  • 操作人
  • operator
  • └ gmt_create
  • Date
  • 2023-03-16 16:09:16
  • gmtCreate
  • └ gmt_modified
  • Date
  • 2023-03-16 16:09:16
  • gmtModified
  • └ message
  • String
  • ok
  • 服务信息
  • └ status
  • Number
  • 200
  • 状态码

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaShuqiAlgorithmConfigSchemaListRequest req = new AlibabaShuqiAlgorithmConfigSchemaListRequest();
req.setSchemaId("123");
req.setPageSize(10L);
req.setPage(1L);
AlibabaShuqiAlgorithmConfigSchemaListResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_shuqi_algorithm_config_schema_list_response>
    <result>
        <data>
            <total>1</total>
            <schema_info_list>
                <schema_info_resp>
                    <id>1</id>
                    <schema_id>123</schema_id>
                    <buckets>
                        <bucket>
                            <bucket_id>1</bucket_id>
                            <bucket_name>分桶名称</bucket_name>
                            <test_name>实验组名称</test_name>
                            <ratio>0,20</ratio>
                        </bucket>
                    </buckets>
                    <operator>操作人</operator>
                    <gmt_create>2023-03-16 16:09:16</gmt_create>
                    <gmt_modified>2023-03-16 16:09:16</gmt_modified>
                </schema_info_resp>
            </schema_info_list>
        </data>
        <message>ok</message>
        <status>200</status>
    </result>
</alibaba_shuqi_algorithm_config_schema_list_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

返回
顶部