From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

WebService::Fastly::WafTagsApi

Load the API package

All URIs are relative to https://api.fastly.com

Method | HTTP request | Description ------------- | ------------- | ------------- list_waf_tags | GET /waf/tags | List tags

list_waf_tags

WafTagsResponse list_waf_tags(filter[name] => $filter[name], page[number] => $page[number], page[size] => $page[size], include => $include)

List tags

List all tags.

Example

my $api_instance = WebService::Fastly::WafTagsApi->new(
# Configure API key authorization: token
api_key => {'Fastly-Key' => 'YOUR_API_KEY'},
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#api_key_prefix => {'Fastly-Key' => 'Bearer'},
);
my $filter[name] = "filter[name]_example"; # string | Limit the returned tags to a specific name.
my $page[number] = 1; # int | Current page.
my $page[size] = 20; # int | Number of records per page.
my $include = waf_rules; # string | Include relationships. Optional.
eval {
my $result = $api_instance->list_waf_tags(filter[name] => $filter[name], page[number] => $page[number], page[size] => $page[size], include => $include);
print Dumper($result);
};
if ($@) {
warn "Exception when calling WafTagsApi->list_waf_tags: $@\n";
}

Parameters

Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- filter[name] | string| Limit the returned tags to a specific name. | [optional] page[number] | int| Current page. | [optional] page[size] | int| Number of records per page. | [optional] [default to 20] include | string| Include relationships. Optional. | [optional] [default to 'waf_rules']

Return type

WafTagsResponse

Authorization

token

HTTP request headers

[Back to top] [Back to API list] [Back to Model list] [Back to README]