Queries the information about applications deployed in container service for Kubernetes.

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 header

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

Request syntax

GET /pop/v5/changeorder/co_application HTTPS|HTTP

Request parameters

Parameter Type Required Example Description
AppId String Yes 5 a166 fbd-****-4f98-a286-781659d9f54c

The ID of the application to be debugged.

From string No ""

Query Source:

  • A common query is empty.
  • deploy indicates that you enter the query from the deployment page.

Response parameters

Prameter Type Example Description
Application Struct

The information about the application that was queried.

App Struct

The basic information of the application that was queried.

ApplicationType String War

Application Type

BuildpackId Integer 57

Application build type ID

Cmd String ""

startUp command

CmdArgs String ""

Command parameters

DeployType String Image

Deployment Type

EdasContainerVersion String ""

Edas container version

EnvList Array

Environments

Env
Parameter String ""

Environment variable name

Value String ""

Environment variable value

TomcatVersion String ""

Apache Tomcat version

AppId String a5281053-08e4-47a5-b2ab-5c0323de****

The ID of the application where the consumed service is published.

Conf Struct

The configuration file of the image.

JarStartArgs String ""

JAR startup parameters

JarStartOptions String ""

JAR startup options

K8sCmd String ""

Start command

K8sCmdArgs String ""

Startup command parameters

K8sLocalvolumeInfo String {\"emptyDirs\":[],\"hostPaths\":[]}

Local storage information

K8sNasInfo String ""

NAS storage information

K8sVolumeInfo String ""

Storage information

Liveness String ""

K8s container viability monitoring information

PostStart String ""

Execution information after K8s container startup

PreStop String ""

Execution information before K8s container is stopped

Readiness String ""

Status Check information of K8s container business

DeployGroups Array

Group Deployment

DeployGroup
Components Array

Item

Components
ComponentId String 5

Snippet ID

ComponentKey String Open JDK 8

Component keywords

ImageInfo Struct

The information about the built image.

ImageUrl String The registry.cn-beijing.aliyuncs.com/edas-serverless- has been updated */1314839. Valid values * 06888_shared _repo:5 a166 fbd-9d76-4f98-****-78165****c_1572***282

Image URL

RegionId Boolean cn-beijing

Mirror region ID

RepoId String ""

The ID of the image repository.

RepoName String 131**** 067006888_shared _repo

The name of the repository.

RepoNamespace String edas-server****-user

Mirror warehouse namespace

RepoOriginType String ALI_HUB

Image Repository source type

Tag String fbd-9d76-4f98-****-781659d9f54c_1572485443282

Image tag

Code Integer 200

Code

Message String Success

The returned message.

RequestId String Cost

The ID of the request.

Examples

Sample requests

GET /pop/v5/changeorder/co_application HTTP/1.1
Common request header
{
  "AppId": "5a166fbd-****-4f98-a286-781659d9f54c"
}

Sample success responses

XML format

<Message>success</Message>
<Application>
    <DeployGroups>
        <DeployGroup>
            <Components>
                <Components>
                    <ComponentKey>Open JDK 8</ComponentKey>
                    <ComponentId>5</ComponentId>
                </Components>
            </Components>
        </DeployGroup>
    </DeployGroups>
    <Conf>
        <K8sVolumeInfo>{"em****Dirs":[],"hostPaths":[]}</K8sVolumeInfo>
        <PostStart/>
        <JarStartOptions/>
        <Readiness/>
        <JarStartArgs/>
        <PreStop/>
        <K8sNasInfo supports static website hosting </K8sNasInfo>
        <K8sCmdArgs/>
        <Liveness/>
        <K8sLocalvolumeInfo>{}</K8sLocalvolumeInfo>
        <K8sCmd/>
    </Conf>
    <ImageInfo>
        <RepoName>1****67006888_shared_repo</RepoName>
        <RepoOriginType>ALI_HUB</RepoOriginType>
        <Tag>5a166fbd-****-****-a286-781659d9f54c_1572485443282</Tag>
        <RepoNamespace>edas-serverless-user</RepoNamespace>
        <RegionId>cn-beijing</RegionId>
        <ImageUrl>registry.cn-beijing.ali****.com/edas-****_shared_repo:5a166fbd-****-4f98-a286-7816****54c_15****43282</ImageUrl>
        <RepoId/>
    </ImageInfo>
    <App>
        <ApplicationType>War</ApplicationType>
        <DeployType>Image</DeployType>
        <EdasContainerVersion>3.5.6</EdasContainerVersion>
        <Cmd/>
        <BuildpackId>57</BuildpackId>
    </App>
</Application>
<Code>200</Code>

JSON format

{
    "Message": "success",
    "Application": {
        "DeployGroups": {
            "DeployGroup": [
                {
                    "Components": {
                        "Components": [
                            {
                                "ComponentKey": "Open JDK 8",
                                "ComponentId": "5"
                            }
                        ]
                    }
                }
            ]
        },
        "Conf": {
            "K8sVolumeInfo": "{\"em****Dirs\":[],\"hostPaths\":[]}",
            "PostStart": "",
            "JarStartOptions": "",
            "Readiness": "",
            "JarStartArgs": "",
            "PreStop": "",
            "K8sNasInfo": "{}",
            "K8sCmdArgs": "",
            "Liveness": "",
            "K8sLocalvolumeInfo": "{}",
            "K8sCmd": ""
        },
        "ImageInfo": {
            "RepoName": "1****67006888_shared_repo",
            "RepoOriginType": "ALI_HUB",
            "Tag": "5a166fbd-****-****-a286-781659d9f54c_1572485443282",
            "RepoNamespace": "edas-serverless-user",
            "RegionId": "cn-beijing",
            "ImageUrl": "registry.cn-beijing.ali****.com/edas-****_shared_repo:5a166fbd-****-4f98-a286-7816****54c_15****43282",
            "RepoId": ""
        },
        "App": {
            "ApplicationType": "War",
            "DeployType": "Image",
            "CmdArgs": [],
            "EdasContainerVersion": "3.5.6",
            "Cmd": "",
            "BuildpackId": 57
        }
    },
    "Code": 200
}

Error codes

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