Skip to content

Latest commit

 

History

History
72 lines (51 loc) · 2.21 KB

WafTagsApi.md

File metadata and controls

72 lines (51 loc) · 2.21 KB

WebService::Fastly::WafTagsApi

Load the API package

use WebService::Fastly::Object::WafTagsApi;

Note

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

use Data::Dumper;
use WebService::Fastly::WafTagsApi;
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

  • Content-Type: Not defined
  • Accept: application/vnd.api+json

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