Queries the details of a test.

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/[sceneId]/groups/[groupId]/experiments/[experimentId] HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes my_app_group_name

The name of the application.

experimentId Integer Path Yes 12889

The ID of the test.

groupId Integer Path Yes 13467

The ID of the test group.

sceneId Integer Path Yes 20404

The ID of the test scenario.

Response parameters

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

The ID of the request.

result Struct

The details of the test.

created Integer 1588842080

The time when the test was created.

id String 12888

The ID of the test.

name String test1

The name of the test.

online Boolean true

The status of the test. Valid values:

  • true: in effect
  • false: not in effect
params Struct

The parameters of the test.

first_formula_name String default

The name of the rough sort policy.

traffic Integer 30

The percentage of traffic that is routed to the test.

updated Integer 1588842080

The time when the test was last modified.

Examples

Sample requests

GET /v4/openapi/app-groups/my_app_group_name/scenes/20404/groups/12758/experiments/12888

Sample success responses

XML format

<requestId>D77D0DAF-790D-F5F5-A9C0-133738165014</requestId>
<result>
    <id>12888</id>
    <name>test1</name>
    <params>
        <first_formula_name>default</first_formula_name>
    </params>
    <created>1588842080</created>
    <updated>1588842080</updated>
    <online>true</online>
    <traffic>30</traffic>
</result>

JSON format

{
    "requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
    "result": {
        "id": 12888,
        "name": "test1",
        "params": {
            "first_formula_name": "default"
        },
        "created": 1588842080,
        "updated": 1588842080,
        "online": true,
        "traffic": 30
    }
}

Error codes

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