The configurationGetServerData Web API Method
Get the server data - all the available data about the server - its status, basic configuration, and useful information. This API is used in the Monitoring Settings page, see there for details.
Version: 1.14
Required Permissions: Read-only
HTTP method: GET
Supported by Editions: Zend Server
Request Parameters: None
Expected Response Code: 200 OK. For more information see Response Format.
Response Format: Response successful message or error message
Possible Action Specific Error Codes:
HTTP Code |
Error Code |
Description |
404 |
noSuchIssue |
The requested issue does not exist |
Example
|
RequestGET /ZendServer/Api/configurationGetServerData Response{ "serverData": { "default-server": "", "default-port": 80, "default-server-url": "", "current-host": "localhost", "original-host": "localhost", "supported-by-webserver": true, "number-of-servers": 1, "is-cluster": false, "is-cluster-supported": true, "node-id": "0", "os-type": 1, "web-server-type": "apache", "os-name": "Ubuntu", "php-os": "Linux", "is-network-enabled": true, "php-version": "7.1.3", "zs-version": "9.1.0", "web-api-version": "1.14", "server-address": "127.0.0.1", "environment-name": "", "environment-color": "#FFFFFF", "timezone-offset": 10800, "hostname": "greg-desktop", "client-ip": "127.0.0.1", "profile": "Development", "unique-id": "6c32b29be10d12e328a4ab9b98dc87db1734a05d", "arch": "x86_64", "plugins-api-version": "1.0.3", "store-url": "https://api-plugins.zend.com/", "lib-update-url": "http://updates.zend.com/libraries/", "edition": "ENTERPRISE", "is-azure": false, "is-zray-standalone": false } } |