The zrayGetRequestsInfo Web API Method

Get the list of requests according to specific page ID. If lastId is specified, only requests that have a larger ID will be returned.

Version: 1.8

Required Permissions: Read-only

HTTP method: GET

Supported Editions: Zend Server

Request parameters:

Parameter

 Type

Required

Description

pageId

String

Yes

The page id to retrieve requests from.

lastId

Integer

No

Specify the lastId used to retrieve only new requests.

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

Response Format: requestsList

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

Example

Usage Example

Request (headers removed for the purpose of clarity)

GET /ZendServer/Api/zrayGetRequestsInfo?pageId=5@423545@0

Response (not all headers are shown)

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

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

<requestData>

<apiKeyName>angel.eyes</apiKeyName>

<method>zrayGetRequestsInfo</method>

</requestData>

<responseData>

<requestsList>

<request>

<requestInfo>...</requestInfo>

<requestRuntime>...</requestRuntime>

<sqlQueries>...</sqlQueries>

<logEntries>...</logEntries>

<exceptions>...</exceptions>

<MonitorEvents>...</MonitorEvents>

<SuperGlobals>

<sessionOversized>1</sessionOversized>

</SuperGlobals>

<extraData>

<functionsCount>1587</functionsCount>

</extraData>

</request>

</requestsList>

</responseData>

</zendServerAPIResponse>