Method description
Queries information about a specific version of a private App resource, including parameters and command lines.
Call method
GetAppDetailResponse getAppDetail(String appName, String qualifier) throws ClientException;GetAppDetailResponse getAppDetail(GetAppDetailRequest req) throws ClientException;
Parameter description
| Parameter | Type | Required | Description |
|---|---|---|---|
| appName | String | Yes | Name of the App. |
| Qualifier | String | Yes | Alias or version number of the App resource. If this parameter is not specified, the information about the latest version is queried. |
Response description
If the call succeeds, a GetAppDetailResponse instance is returned. You can use getAppDetail() to obtain AppDescription.
For more information about attributes of AppDescription, see Create an App.
If the call fails, a ClientException is thrown.
Sample code
try{GetAppDetailResponse getAppDetailResponse = client.getAppDetail("myApp","0");AppDescription appDescription = getAppDetailResponse.getAppDetail();//The method is successfully called.}catch(ClientException e){e.printStackTrace();//The method fails to be called.}