mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting docs: include hcl
format in /alert-rules/:uid/export
endpoint (#85432)
This commit is contained in:
parent
3865b8c980
commit
441118e506
@ -344,10 +344,10 @@ GET /api/v1/provisioning/alert-rules/:uid/export
|
|||||||
#### Parameters
|
#### Parameters
|
||||||
|
|
||||||
| Name | Source | Type | Go type | Separator | Required | Default | Description |
|
| Name | Source | Type | Go type | Separator | Required | Default | Description |
|
||||||
| -------- | ------- | ------- | -------- | --------- | :------: | -------- | --------------------------------------------------------------------------------------------------------------------------------- |
|
| -------- | ------- | ------- | -------- | --------- | :------: | -------- | -------------------------------------------------------------------------------------------------------------------------------------- |
|
||||||
| UID | `path` | string | `string` | | ✓ | | Alert rule UID |
|
| UID | `path` | string | `string` | | ✓ | | Alert rule UID |
|
||||||
| download | `query` | boolean | `bool` | | | | Whether to initiate a download of the file or not. |
|
| download | `query` | boolean | `bool` | | | | Whether to initiate a download of the file or not. |
|
||||||
| format | `query` | string | `string` | | | `"yaml"` | Format of the downloaded file, either yaml or json. Accept header can also be used, but the query parameter will take precedence. |
|
| format | `query` | string | `string` | | | `"yaml"` | Format of the downloaded file, either yaml, json or hcl. Accept header can also be used, but the query parameter will take precedence. |
|
||||||
|
|
||||||
#### All responses
|
#### All responses
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user