The urlinsightGetZraySnapshots Web API Method

Get stored z-ray snapshots for a requested resource ID.

Version: 1.9

Required Permissions: Read-only

HTTP method: GET

Supported by Editions: All

Request Parameters:  

Parameter

 Type

Required

Description

resource_id

integer

Yes

The URL ID to retrieve the info from.

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

Response Format:urlinsightZraySnapshot

Possible Action Specific Error Codes:

HTTP Code

 Error Code

Description

404

urlinsightNoSuchUrl

The URL does not exist.

Example

Usage Example

Request

GET /ZendServer/Api/urlinsightGetZraySnapshots?resource_id=2

Response

<?xml version="1.0" encoding="UTF-8"?>
<zendServerAPIResponse xmlns="http://www.zend.com/server/api/1.8">
	<requestData>
		<apiKeyName>angel.eyes</apiKeyName>
		<method>urlinsightGetUrlInfo</method>
	</requestData>	
	<responseData>
		<zraySnapshots>
			<zraySnapshot>
				<pageId>72@5900@1412063933@0</pageId>
				<requestTime>1412064410</requestTime>
			</zraySnapshot>
			...
		</zraySnapshots>
	</responseData>
</zendServerAPIResponse>