GET /api/v1/rules
Changed onReturns a list of all rules.
Request
- The document declares no server URL.
- Auth
- API key in header X-Auth-Token
- or API key in header St2-Api-Key
- or API key in query parameter x-auth-token
- or API key in query parameter st2-api-key
- or API key in header auth-token
Query parameters
exclude_attributesstring[]
List of attributes to exclude
include_attributesstring[]
List of attributes to include
limitinteger
Number of entities to get
idstring[]
Entity id filter
namestring
Entity name filter
packstring
Entity pack name filter
actionstring
Action ref filter
triggerstring
Trigger filter
enabledstring
Enabled filter
show_secretsboolean
Show secrets in plain text
Response
List of rules
Rule[] required
Changes
- info
added the new optional
queryrequest parametershow_secrets
- info