Queries the test scenarios of an OpenSearch application.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request headers

This operation uses only the common request headers. For more information, see Common request parameters.

Request syntax

GET /v4/openapi/app-groups/[appGroupIdentity]/scenes HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes my_app_group_name

The name of the application.

Response parameters

Parameter Type Example Description
requestId String D77D0DAF-790D-F5F5-A9C0-133738165014

The ID of the request.

result Array of result

The details of the test scenarios.

For more information, see ABTestScene.

created Integer 1588836130

The time when the test scenario was created.

id String 20404

The ID of the test group.

name String kevintest_2020-5-7_15:21:482

The name of the test group.

status Integer 1

The status of the test scenario. Valid values:

  • 0: not in effect
  • 1: in effect
updated Integer 1588836129

The time when the test scenario was last modified.

values List ["kevintest2"]

The name of the test scenario.

Examples

Sample requests

GET /v4/openapi/app-groups/os_function_test_v1/scenes

Sample success responses

XML format

<requestId>D77D0DAF-790D-F5F5-A9C0-133738165014</requestId>
<result>
    <id>20404</id>
    <name>kevintest_2020-5-7_15:21:482</name>
    <status>1</status>
    <created>1588836130</created>
    <updated>1588836129</updated>
    <values>kevintest2</values>
</result>

JSON format

{
  "requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
  "result": [
    {
      "id": "20404",
      "name": "kevintest_2020-5-7_15:21:482",
      "status": 1,
      "created": 1588836130,
      "updated": 1588836129,
      "values": [
        "kevintest2"
      ]
    }
  ]
}

Error codes

For a list of error codes, visit the API Error Center.