GET /wafcrs

GET /wafcrs

/wafcrs

Request
URI
GET
https://{api_host}/api/wafcrs
COPY
Query Parameters
string
name
Optional

object name

string
refers_to
Optional

Filter to request all objects that refers to another Avi resource. Its syntax is refers_to= : . Eg. get all virtual services referring to pool p1 will be refers_to=pool:pool_p1_uuid

string
referred_by
Optional

Filter to request all objects that are referred by another Avi resource. Its syntax is referred_by= : . Eg. get all pools referred_by virtual service vs1 - referred_by=virtualservice:vs_vs1_uuid

string
fields
Optional

List of fields to be returned for the resource. Some fields like name, URL, uuid etc. are always returned.

boolean
include_name
Optional

All the Avi REST reference URIs have a name suffix as URI#name. It is useful to get the referenced resource name without performing get on that object.

boolean
skip_default
Optional

Default values are not set.

string
join_subresources
Optional

It automatically returns additional dependent resources like runtime. Eg. join_subresources=runtime.

Header Parameters
string
X-Avi-Tenant
Optional

Avi Tenant Header

string
X-Avi-Tenant-UUID
Optional

Avi Tenant Header UUID

string
X-Avi-Version
Required

The caller is required to set Avi Version Header to the expected version of configuration. The response from the controller will provide and accept data according to the specified version. The controller will reject POST and PUT requests where the data is not compatible with the specified version.

string
X-CSRFToken
Optional

Avi Controller may send back CSRF token in the response cookies. The caller should update the request headers with this token else controller will reject requests.


Responses
200

OK

Returns WafCRSApiResponse of type(s) application/json
{
    "count": 0,
    "results": [
        {
            "_last_modified": "string",
            "allowed_request_content_type_charsets": [
                "string"
            ],
            "configpb_attributes": {
                "version": 0
            },
            "description": "string",
            "files": [
                {
                    "data": "string",
                    "name": "string",
                    "type": "string"
                }
            ],
            "groups": [
                {
                    "enable": false,
                    "exclude_list": [
                        {
                            "client_subnet": {
                                "ip_addr": {
                                    "addr": "string",
                                    "type": "string"
                                },
                                "mask": 0
                            },
                            "description": "string",
                            "match_element": "string",
                            "match_element_criteria": {
                                "match_case": "string",
                                "match_op": "string"
                            },
                            "uri_match_criteria": {
                                "match_case": "string",
                                "match_op": "string"
                            },
                            "uri_path": "string"
                        }
                    ],
                    "index": 0,
                    "name": "string",
                    "rules": [
                        {
                            "enable": false,
                            "exclude_list": [
                                {
                                    "client_subnet": {
                                        "ip_addr": {
                                            "addr": "string",
                                            "type": "string"
                                        },
                                        "mask": 0
                                    },
                                    "description": "string",
                                    "match_element": "string",
                                    "match_element_criteria": {
                                        "match_case": "string",
                                        "match_op": "string"
                                    },
                                    "uri_match_criteria": {
                                        "match_case": "string",
                                        "match_op": "string"
                                    },
                                    "uri_path": "string"
                                }
                            ],
                            "index": 0,
                            "is_sensitive": false,
                            "mode": "string",
                            "name": "string",
                            "paranoia_level": "string",
                            "phase": "string",
                            "rule": "string",
                            "rule_id": "string",
                            "tags": [
                                "string"
                            ]
                        }
                    ]
                }
            ],
            "integrity": "string",
            "integrity_values": [
                "string"
            ],
            "markers": [
                {
                    "key": "string",
                    "values": [
                        "string"
                    ]
                }
            ],
            "name": "string",
            "release_date": "string",
            "restricted_extensions": [
                "string"
            ],
            "restricted_headers": [
                "string"
            ],
            "tenant_ref": "string",
            "url": "string",
            "uuid": "string",
            "version": "string"
        }
    ],
    "next": "string"
}
integer As int32 As int32
count
Required

count

array of object
results
Required

results

string
next
Optional

next


401

log in failed

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/wafcrs