Web API Reference Guide > Available API Methods > Studio Integration Methods > The studioShowSource Method

The studioShowSource Method

Show source of a file that triggered an error event .

Version: 1.2

Required Permissions: Full

HTTP method: POST

Supported Editions: Zend Server

Request parameters:

Parameter

 Type

Required

Description

eventsGroupId

String

Yes

The issue event group identifier

overrideHost

String

No

Override the host address sent to Zend Server for initiating a Debug session. This is used to point Zend Server at the right address where Studio is executed

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/studioShowSource

Content-type: application/x-www-form-urlencoded

eventsGroupId=36

Response

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

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

<requestData>

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

<method>studioShowSource</method>

</requestData>

<responseData>

<profileRequest>

<success>1</success>

<message>Show source completed successfully</message>

</profileRequest>

</responseData>

</zendServerAPIResponse>

 

 

Read Also

  Available API Methods    
  Statistics Methods