Get Http Response Rules

Get Http Response Rules

Retrieves HTTP response rules of a Virtual Service.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/loadBalancer/virtualServices/{virtualServiceId}/httpPolicy/responseRules
COPY
Path Parameters
string
virtualServiceId
Required

virtualServiceId

string
virtualServiceId
Required

virtualServiceId


Authentication
This operation uses the following authentication methods.
Responses
200
Returns EdgeVirtualServiceHttpResponseRules of type(s) application/json;version=38.1
{
    "values": [
        {
            "name": "string",
            "active": false,
            "logging": false,
            "matchCriteria": {
                "clientIpMatch": {
                    "matchCriteria": "string",
                    "addresses": [
                        "string"
                    ]
                },
                "servicePortMatch": {
                    "matchCriteria": "string",
                    "ports": [
                        0
                    ]
                },
                "methodMatch": {
                    "matchCriteria": "string",
                    "methods": [
                        "string"
                    ]
                },
                "protocol": "string",
                "pathMatch": {
                    "matchCriteria": "string",
                    "matchStrings": [
                        "string"
                    ]
                },
                "queryMatch": [
                    "string"
                ],
                "cookieMatch": {
                    "matchCriteria": "string",
                    "key": "string",
                    "value": "string"
                },
                "locationHeaderMatch": {
                    "matchCriteria": "string",
                    "value": [
                        "string"
                    ]
                },
                "requestHeaderMatch": [
                    {
                        "matchCriteria": "string",
                        "value": [
                            "string"
                        ],
                        "key": "string"
                    }
                ],
                "responseHeaderMatch": [
                    {
                        "matchCriteria": "string",
                        "value": [
                            "string"
                        ],
                        "key": "string"
                    }
                ],
                "statusCodeMatch": {
                    "matchCriteria": "string",
                    "statusCodes": [
                        "200",
                        "302",
                        "400-450"
                    ]
                }
            },
            "headerActions": [
                {
                    "action": "string",
                    "name": "string",
                    "value": "string"
                }
            ],
            "rewriteLocationHeaderAction": {
                "protocol": "string",
                "host": "string",
                "port": 0,
                "path": "string",
                "keepQuery": false
            }
        }
    ]
}
values
Optional

values