文档

GetLaboratory - 获取实验室详细信息

更新时间:

获取指定实验室的详细信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

GET /api/v1/laboratories/{LaboratoryId}

请求参数

名称类型必填描述示例值
LaboratoryIdstring

实验室 ID,可通过接口 ListLaboratories 获取。

3
InstanceIdstring

实例 ID,可通过接口 ListInstances 获取。

pairec-test1

返回参数

名称类型描述示例值
object

Schema of Response

RequestIdstring

Id of the request

1C0898E5-9220-5443-B2D9-445FF0688215
SceneIdstring

场景 ID。

3
Namestring

实验室名称。

laboratory1
Descriptionstring

实验室描述。

This is a test.
DebugUsersstring

调试用户。

user1,user2,user3
DebugCrowdIdstring

调试人群 ID。

3
BucketCountinteger

分桶数量。

100
Bucketsstring

分配桶号。

1,2,3,10-20
BucketTypestring

分桶方式。 ● Uid-UID 分桶(默认) ● UidHash-UID 哈希 ● Filter-过滤条件分桶

Filter
Filterstring

过滤条件。

filter=xxx
Environmentstring

运行环境 ● Daily-日常环境 ● Pre-预发环境 ● Prod-生产环境

Daily
Typestring

实验室类型 ● Base ● NonBase

Base
Statusstring

状态。 ● Offline-未上线。 ● Online-已上线。

Offline
CrowdIdstring

人群 ID。

3

示例

正常返回示例

JSON格式

{
  "RequestId": "1C0898E5-9220-5443-B2D9-445FF0688215",
  "SceneId": "3",
  "Name": "laboratory1",
  "Description": "This is a test.",
  "DebugUsers": "user1,user2,user3",
  "DebugCrowdId": "3",
  "BucketCount": 100,
  "Buckets": "1,2,3,10-20",
  "BucketType": "Filter",
  "Filter": "filter=xxx",
  "Environment": "Daily",
  "Type": "Base",
  "Status": "Offline",
  "CrowdId": "3"
}

错误码

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈