List rule formats
GET https://{{host}}/papi/v1/rule-formats
Gets a list of available rule formats. Use these dated version strings available in the response's ruleFormats.items
array to control the set of behaviors and criteria you invoke within an include's rules to apply to edge content, either freezing a rule tree or updating to a new rule format. To validate a rule tree to the requirements of a specific rule format, see Get a rule format's schema.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
PAPI-Use-Prefixes | string | (Required) Enum Sets whether to represent ID prefixes in response data. Set to false when exchanging PAPI data with other APIs. | |
Accept | string |
RESPONSES
status: OK
{"ruleFormats":{"items":["latest","v2015-08-08"]}}