The applicationGetStatus Method
Get the list of applications currently deployed (or staged) on the server
or the cluster and information about each application. If application
IDs are specified, this method will return information about the specified
applications. If no IDs are specified, this method will return information
about all applications on the server or cluster.
Required Permissions: read
HTTP method: GET
Supported by Editions: Zend Server, Zend Server Cluster Manager
Request Parameters:
Parameter |
Type |
Required |
Description |
applications |
Array |
No |
A list of application
IDs. If specified, information will be returned about the specific
applications only. If not specified, information about all applications
will be returned. If a non-existing application ID is provided
this action will not fail but instead will return no information
about the specific application. |
Expected Response Code: 200
OK - For more information see Response
Format.
Response Type: applicationsList
Possible Action Specific Error Codes:
This action has no specific error codes

|
Example:
Request:
GET /ZendServerManager/Api/applicationGetStatus?
applications%5B0%5D=1&applications%5B0%5D=2
Response:
<?xml version="1.0" encoding="UTF-8"?>
<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.1">
<requestData>
<apiKeyName>angel.eyes</apiKeyName>
<method>applicationGetStatus</method>
</requestData>
<responseData>
<applicationsList>
<applicationInfo>
<id>1</id>
<baseUrl>http://example.com/myapp</baseUrl>
<appName>Wordpress</appName>
<userAppName>Wolfgang's
Blog</userAppName>
<installedLocation>/usr/local/somewhere</installedLocation>
<status>partially
deployed</status>
<servers>
<applicationServer>
<id>1</id>
<deployedVersion>1.6</deployedVersion>
<status>OK</status>
</applicationServer>
<applicationServer>
<id>4</id>
<deployedVersion>1.6</deployedVersion>
<status>OK</status>
</applicationServer>
<applicationServer>
<id>8</id>
<deployedVersion>1.5</deployedVersion>
<status>OK</status>
</applicationServer>
</servers>
<deployedVersions>
<deployedVersion>1.6</deployedVersion>
<deployedVersion>1.5</deployedVersion>
</deployedVersions>
<messageList
/>
</applicationInfo>
<applicationInfo>
<id>2</id>
<baseUrl>http://oapp.example.com:8080/</baseUrl>
<appName>Blog
2.0</appName>
<userAppName>Wolfgang's
Blog</userAppName>
<installedLocation>/usr/local/somewhere</installedLocation>
<status>staging</status>
<servers>
<applicationServer>
<id>1</id>
<deployedVersion>1.6</deployedVersion>
<status>staging</status>
</applicationServer>
<applicationServer>
<id>4</id>
<deployedVersion>1.6</deployedVersion>
<status>staging</status>
</applicationServer>
<applicationServer>
<id>8</id>
<deployedVersion>1.5</deployedVersion>
<status>staging</status>
</applicationServer>
</servers>
<deployedVersions>
<deployedVersion>1.6</deployedVersion>
<deployedVersion>1.5</deployedVersion>
</deployedVersions>
<messageList
/>
</applicationInfo>
</applicationsList>
</responseData>
</zendServerAPIResponse> |
|