The zrayGetAllRequestsInfo Web API Method

Get a list of requests starting from a specific timestamp (same as `zrayGetRequestsInfo` but not by pageID). The API receives 3 parameters - `from_timestamp`, `limit` and `offset`. The default limit is 10.

Version: 1.10

Required Permissions: Full

HTTP method: GET

Supported Editions: Zend Server

Request parameters:

Parameter

 Type

Required

Description

from_timestamp

Integer

No

Specify the timestamp to get all the requests that came after (microseconds - 13 digits).

filters

Array

No

Only filters[freeText] option is available. Specify a string to filter the row results by URL or Status Code. Added in 1.11.

limit

Integer

No

Limit number of requests. Default is 10. Max value is 500.

offset

Integer

No

Get data starting from a specific offset. Default is 0.

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

This Web API checks for memory consumption during execution. Therefore, in some edge cases, only partial data might be returned

Example

Usage Example

Request (headers removed for the purpose of clarity)

GET/ZendServer/Api/zrayGetAllRequestsInfo?from_timestamp=1407926621000

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>zrayGetAllRequestsInfo</method>
	</requestData>
	<responseData>
		<requestsList>
			<request>
				<requestInfo>...</requestInfo>
				<requestRuntime>...</requestRuntime>
				<sqlQueries>...</sqlQueries>
				<logEntries>...</logEntries>
				<MonitorEvents>...</MonitorEvents>	
				<SuperGlobals>
					<sessionOversized>1</sessionOversized>
				</SuperGlobals>
				<exceptions>...</exceptions>
				<extraData>
					<functionsCount>1587</functionsCount>
				</extraData>
			</request>
		</requestsList>
	</responseData>
</zendServerAPIResponse>