List traffic filter rulesets

edit

List all of the traffic filter rulesets.

Request

edit

GET /api/v1/deployments/traffic-filter/rulesets

Query parameters

edit
Name Type Required Description

include_associations

boolean; default: false

N

Retrieves a list of resources that are associated to the specified ruleset.

region

string

N

If provided limits the rulesets to that region only.

Responses

edit
200

(TrafficFilterRulesets) The collection of traffic filter routes

500

(BasicFailedReply) Error fetching traffic filter rulesets. (code: traffic_filter.request_execution_failed)

Headers

x-cloud-error-codes (string; allowed values: [traffic_filter.request_execution_failed])
The error codes associated with the response

To perform this operation, you must be authenticated by means of one of the following methods: apiKey, basicAuth.

Request example

edit
curl -XGET https://{{hostname}}/api/v1/deployments/traffic-filter/rulesets \
-H "Authorization: ApiKey $ECE_API_KEY"