GetApplication - Get application details
Applies to | Centralized and regional editions |
Service endpoint and authorization
- Get a service endpoint: Replace {domain} in the API request syntax.
- Get a personal access token.
- Get your organization ID: Required only for the centralized edition. Go to organization settings and find your organization ID on the basic information page.
Product | Resource | Required permissions |
application delivery | application | read-only |
Request syntax
Centralized edition
GET https://{domain}/oapi/v1/appstack/organizations/{organizationId}/apps/{appName}
Regional edition
GET https://{domain}/oapi/v1/appstack/apps/{appName}
Request headers
Parameter | Type | Required | Description | Example value |
x-yunxiao-token | string | Yes | The personal access token for Alibaba Cloud DevOps. | pt-0fh3****0fbG_35af****0484 |
Request parameters
Parameter | Type | Location | Required | Description | Example value |
appName | string | path | Yes | The application name. | my-web-service |
organizationId | string | path |
| The organization ID. | ec766e63aee3437d9a51f334d6exe671 |
Request examples
Centralized edition
curl -X 'GET' \
'https://{domain}/oapi/v1/appstack/organizations/ec766e63aee3437d9a51f334d6exe671/apps/my-web-service' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Regional edition
curl -X 'GET' \
'https://{domain}/oapi/v1/appstack/apps/my-web-service' \
-H 'Content-Type: application/json' \
-H 'x-yunxiao-token: pt-0fh3****0fbG_35af****0484'
Response parameters
Parameter | Type | Description | Example value |
| - | object | The AppStack application model. | |
| appTemplateDisplayName | string | The application template display name. | app-template-display-name |
| appTemplateName | string | The application template name. | app-template-name |
| creatorId | string | The creator ID. | bd9e3c6d-624f-4580-af7d-c5e26f1ed0f0 |
| description | string | The application description. | description |
| gmtCreate | string | The application creation time. | 2024-09-01 00:00:00 |
| name | string | The application name. | app-name |
| tags | array[string] | The application tags. | ['java'] |
Response example
{
"appTemplateDisplayName": "app-template-display-name",
"appTemplateName": "app-template-name",
"creatorId": "bd9e3c6d-624f-4580-af7d-c5e26f1ed0f0",
"description": "description",
"gmtCreate": "2024-09-01 00:00:00",
"name": "app-name",
"tags": ['java']
}
Error codes
For a list of API error codes, see the Error Code Center.