Creates an experiment group.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
opensearch:CreateApp |
*AbTestGroup
|
None | None |
Request syntax
POST /v4/openapi/app-groups/{appGroupIdentity}/scenes/{sceneId}/groups HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| appGroupIdentity |
string |
Yes |
The name of the application. |
my_app_group_name |
| sceneId |
integer |
No |
The scenario ID. |
20404 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body | ABTestGroup |
No |
The request body. For more information, see ABTestGroup. |
|
| dryRun |
boolean |
No |
Specifies whether to check the validity of the input parameters. The default value is false. Valid values:
|
true |
Request body
| Parameter | Type | Required | Example | Description |
| name | String | Yes | "kevintest3" | The name of the experiment group. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| requestId |
string |
The request ID. |
D77D0DAF-790D-F5F5-A9C0-133738165014 |
| result |
object |
The returned results. |
|
| created |
integer |
The time when the experiment group was created. |
1588839490 |
| status |
integer |
The status of the experiment group.
|
1 |
| updated |
integer |
The time when the experiment group was last updated. |
1588839490 |
| name |
string |
The alias of the group. |
Group_2020-5-7_15:23:3 |
| id |
string |
The ID of the group. |
13466 |
Examples
Success response
JSON format
{
"requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
"result": {
"created": 1588839490,
"status": 1,
"updated": 1588839490,
"name": "Group_2020-5-7_15:23:3",
"id": "13466"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.