Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.36 KB

LegacyWafTagApi.md

File metadata and controls

58 lines (42 loc) · 1.36 KB

Fastly.LegacyWafTagApi

const apiInstance = new Fastly.LegacyWafTagApi();

Methods

Note

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

Method HTTP request Description
listLegacyWafTags GET /wafs/tags List WAF tags

listLegacyWafTags

listLegacyWafTags({ , [filter_name, ][page_number, ][page_size, ][include] })

List all tags.

Example

const options = {
  filter_name: "filter_name_example",
  page_number: 1,
  page_size: 20,
  include: rules,
};

apiInstance.listLegacyWafTags(options)
  .then((data) => {
    console.log(data, "API called successfully.");
  })
  .catch((error) => {
    console.error(error);
  });

Options

Name Type Description Notes
filter_name String Limit the returned tags to a specific name. [optional]
page_number Number Current page. [optional]
page_size Number Number of records per page. [optional] [defaults to 20]
include String Include relationships. Optional, comma separated values. Permitted values: rules. [optional]

Return type

Object

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