Queries the details of a test scenario.

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] HTTP/1.1

Request parameters

Parameter Type Position Required Example Description
appGroupIdentity String Path Yes my_app_group_name

The name of the application.

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 scenario.

created Integer 1596527691

The time when the test scenario was created.

id String 20614

The ID of the test scenario.

name String test

The name of the test scenario.

status Integer 0

The status of the test scenario. Valid values:

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

The time when the test scenario was last modified.

values List test

The tag of the test scenario.

Examples

Sample requests

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

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.