The pagecacheResponseRulesList Web API Method

Retrieve and display a list of response page cache rules.

Version:1.16

Required Permissions: Read-only

HTTP method: GET

Supported by Editions: Zend Server

Request Parameters:  

Parameter

 Type

Required

Description

applicationIds

array

No

The application Ids the rules may be associated with

freeText

string

No

Free text to search in rule details

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

Response Format: A list of rules, their dependent information and a total count of records for the provided filter.

Possible Action Specific Error Codes:

HTTP Code

Error Code

Description

500

internalServerError

Retrieving a list of rules failed due to an internal problem

Example

Usage Example

Request

GET/ZendServer/Api/pagecacheResponseRulesList

Response

"responseData": {
  "rules": [
    {
      "application": "",
      "applicationId": -1,
      "conditions": [
        {
          "element": "s",
          "type": "equals",
          "value": "fsdf"
        }
      ],
    "globalInheritance": "1",
    "responseStatus": "500"
}