更新时间:2020-08-14 19:32
修改实验参数。
PUT
/v4/openapi/app-groups/[appGroupIdentity]/scenes/[sceneId]/groups/[groupId]/experiments/[experimentId]
字段 | 类型 | 是否必要 | 示例值 | 描述 |
---|---|---|---|---|
appGroupIdentity | String | 是 | “my_app_group_name” | 应用名称 |
sceneId | String | 是 | “20404” | 场景ID |
groupId | String | 是 | “13467” | 组ID |
experimentId | String | 是 | “12889” | 实验ID |
字段 | 类型 | 是否必要 | 示例值 | 描述 |
---|---|---|---|---|
name | String | 否 | “my_test” | 实验名称 |
traffic | Integer | 否 | 30 | 实验流量 |
online | Boolean | 否 | true | 是否生效 |
params | Object | 否 | 实验配置 |
字段 | 类型 | 描述 |
---|---|---|
requestId | String | 请求ID |
result | Object | 实验详情 参考:ABTestExperiment |
PUT /v4/openapi/app-groups/my_app_group_name/scenes/20404/groups/13466/experiments/12889
{
"name": "test333",
"traffic": 40,
"params": {
"firstFormulaName": "default"
}
}
正确返回
{
"requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
"result": {
"id": "12889",
"name": "test333",
"params": {
"firstFormulaName": "default"
},
"created": 1589017860,
"updated": 1589018211,
"online": true,
"traffic": 40
}
}
错误返回
参考:响应结构
在文档使用中是否遇到以下问题
更多建议
匿名提交