Querying Application Version Details

Function Description

  • API Name

    QueryAppVersionDetail

  • Function

    Query application version details.

URI

GET /v1/{project_id}/cloud-phone/app-versions/{app_version_id}

For details, see Table 1.
Table 1 Parameter description

Parameter

Mandatory

Type

Description

project_id

Yes

String

Specifies the project ID.

For details about how to obtain the project ID, see Obtaining a Project ID.

app_version_id

Yes

String

Specifies the unique ID of the application version.

Request

  • Request parameters

    None

  • Example request
    1
    GET https://{CPH Endpoint}/v1/{project_id}/cloud-phone/app-versions/{app_version_id}
    

Response

  • Response parameters

    Parameter

    Type

    Description

    request_id

    String

    Specifies the request ID, which is unique.

    app_id

    String

    Specifies the unique ID of an application.

    app_version_id

    String

    Specifies the unique ID of the application version.

    version_code

    String

    Specifies the application version code.

    The value can contain a maximum of 64 characters, including only lowercase letters, digits, hyphens (-), and periods (.).

    version_name

    String

    Specifies the application version name.

    The value can contain a maximum of 64 characters, including only lowercase letters, digits, hyphens (-), and periods (.).

    launch_activity

    String

    Specifies the application startup path.

    The value can contain a maximum of 256 characters, including uppercase letters, lowercase letters, digits, periods (.), underscores (_), and hyphens (-).

    bucket_name

    String

    Specifies the bucket name.

    A valid OBS bucket name contains 3 to 63 characters, including only lowercase letters, digits, hyphens (-), and periods (.).

    object_path

    String

    Specifies the storage path of the application version.

    A valid OBS object key can contain a maximum of 1024 characters.

    create_time

    String

    Specifies the time when the application version is created.

    The value is a UTC time.

    update_time

    String

    Specifies the time when the application version is updated.

    The value is a UTC time.

  • Example response
    {  
        "request_id": "1243449b896f3a4f0ad57222dd93245",
        "app_id": "1243449b896f3a4f0ad57222dd93245",
        "app_version_id": "88b8449b896f3a4f0ad57222dd9190b",
        "version_code": "xxx",
        "version_name": "v11.1.1"
        "bucket_name": "",
        "object_path": "",
        "create_time": "2020-01-01T00:00:00Z",
        "update_time": "2020-01-03T00:00:00Z"
    }

Returned Values

See Returned Values.

Error Codes

See Error Codes.