All Products
Search
Document Center

OpenSearch:CreateABTestScene

Last Updated:Jul 02, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /v4/openapi/app-groups/{appGroupIdentity}/scenes

Request parameters

ParameterTypeRequiredDescriptionExample
appGroupIdentitystringYes

my_app_group_name

my_app_group_name
bodyABTestSceneNo

The request body.

dryRunbooleanNo

Specifies whether to perform only a dry run, without performing the actual request. Default value: false.

Valid values:

  • true
  • false
false

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

The ID of the request.

D77D0DAF-790D-F5F5-A9C0-133738165014
resultobject

The return result.

createdinteger

The time when the test scenario was created.

0
statusinteger

The status of the test scenario. Valid values:

  • 0: not in effect
  • 1: in effect
1
updatedinteger

The time when the test scenario was last modified.

1589012351
namestring

The name of the test group.

kevintest_2020-5-7_15:21:48
idstring

The ID of the test group.

20405
valuesarray

The tag of the test scenario.

string

The tag of the test scenario.

[ "kevintest" ]

Examples

Sample success responses

JSONformat

{
  "requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
  "result": {
    "created": 0,
    "status": 1,
    "updated": 1589012351,
    "name": "kevintest_2020-5-7_15:21:48",
    "id": "20405",
    "values": [
      "[       \"kevintest\"     ]"
    ]
  }
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-05-24The request parameters of the API has changedView Change Details