provisioning

Export all alert rules in provisioning file format.

get/v1/provisioning/alert-rules/export

Request

  • Base URL
    /api (relative, and the document’s source URL is not known)
  • URL
    /api/v1/provisioning/alert-rules/export
  • Auth
    • HTTP basic
    • or API key in header Authorization

Query parameters

downloadboolean

Whether to initiate a download of the file or not.

format'yaml' | 'json' | 'hcl'

Format of the downloaded file. Supported yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence.

folderUidstring[]

UIDs of folders from which to export rules

groupstring

Name of group of rules to export. Must be specified only together with a single folder UID

ruleUidstring

UID of alert rule to export. If specified, parameters folderUid and group must be empty.

Response

AlertingFileExport

apiVersioninteger

Changes

No recorded changes to this operation across all 1 revision of this API.