The applicationGetDetails Web API Method

Retrieve package and meta information about a deployed application. This action provides the most complete list of information about a single application we can provide.

Version: 1.5

Required Permissions: Read-only

HTTP method: GET

Supported by Editions: Zend Server

Request Parameters:

Parameter

 Type

Required

Description

application

Integer

Yes

An application ID.

Expected Response Code: 200 OK  - For more information see Response Format.

Response Type: applicationsDetails

Possible Action Specific Error Codes: This action has no specific error codes

Example

Usage Example

Request

GET /ZendServer/Api/applicationGetDetails?application=1

Response

{
  "applicationDetails": {
    "applicationInfo": {
      "id": "11634",
      "baseUrl": "http:///zend-web-api-client",
      "appName": "zend-web-api-client",
      "userAppName": "zend-web-api-client",
      "installedLocation": "/usr/local/zend/var/apps/http/__default__/0/zend-web-api-client/1.6.4_11635",
      "status": "deployed",
      "healthCheck": "ok",
      "isRollbackable": true,
      "isRedeployable": true,
      "servers": {
        "applicationServer": [
        {
          "deployedVersion": "1.6.4",
          "status": "deployed"
        }
        ]
      },
      "deployedVersions": {
        "deployedVersion": "1.6.4",
        "applicationRollbackVersion": "1.6.4"
      },
      "messageList": [],
      "creationTime": "2017-04-19T14:14:53+03:00",
      "creationTimeTimestamp": "1492600493",
      "lastUsed": "2017-05-21T15:59:03+03:00",
      "lastUsedTimestamp": "1495371543",
      "isDefinedApplication": 0,
      "vhostId": "5",
      "pendingVersion": "1.6.6"
    },
    "applicationPackage": {
      "prerequisitesValidation": "false",
      "prerequisites": "allow_url_fopenon",
      "userParams": []
    },
    "servers": [
    {
      "NODE_ID": "0",
      "NODE_NAME": "my-desktop",
      "JTIME": "1495370348.458",
      "NODE_IP": "",
      "STATUS_CODE": "0",
      "REASON_STRING": "",
      "IS_DELETED": "0",
      "LAST_UPDATED": "1495631264",
      "SERVER_FLAGS": "0",
      "appId": "11634",
      "status": 32,
      "healthStatus": 81,
      "serverName": "my-desktop",
      "version": "1.6.4",
      "messages": " "
    }
    ],
    "vhosts": [
    {
      "id": "0",
      "name": "my-desktop",
      "port": "1495370348.458",
      "address": "",
      "status": "0",
      "message": ""
    }
    ]
  }
}
For Zend Server on Linux, this action is also available via the command line using CLI tools. For more information, see ZendServerSDK.