The studioIsDebugModeEnabled Web API Method

Return the current debug mode status on the server.

Version: 1.3

Required Permissions: Full

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: This action has no specific error codes.

Example

Usage Example

Request

POST /ZendServer/Api/studioIsDebugModeEnabled

Response

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

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

<requestData>

<apiKeyName><![CDATA[Admin]]></apiKeyName>

<method>studioIsDebugModeEnabled</method>

</requestData>

<responseData>

<debugMode>

<value>1</value>

<requiresRestart>1</requiresRestart>

</debugMode>

</responseData>

</zendServerAPIResponse>