The getServerProfile Web API Method

Gets the server profile: Development or Production .

Version: 1.10

Required Permissions: Read-Only

HTTP method: GET

Supported by Editions: All

Request Parameters:  This method has no request parameters.

Expected Response Code: 200 OK.

Response Format: Application .zip file containing the retrieved log file.

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

Example

Usage Example

Request (headers removed for the purpose of clarity)

GET /ZendServer/Api/getServerProfile

Response (not all headers are shown)

<?xml version="1.0" encoding="UTF-8"?>

<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.10">

<requestData>

<apiKeyName>angel.eyes</apiKeyName>

<method>getServerProfile</method>

</requestData>

<responseData>

<profile>

<type>Production</type>

</profile>

</responseData>

</zendServerAPIResponse>