mirror of
https://github.com/grafana/grafana.git
synced 2025-07-28 08:52:07 +08:00
Enable doc-validator for alerting directories (#68964)
* Enable doc-validator for alerting directories Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Adds missing description frontmatter * Fix some more links Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Fix some more links Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Fixes anchors --------- Signed-off-by: Jack Baldry <jack.baldry@grafana.com> Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
This commit is contained in:
@ -10,7 +10,7 @@ keywords:
|
||||
- api
|
||||
- alerting
|
||||
- alerts
|
||||
title: 'Alerting HTTP API '
|
||||
title: Legacy Alerting API
|
||||
---
|
||||
|
||||
# Legacy Alerting API
|
||||
@ -19,11 +19,11 @@ title: 'Alerting HTTP API '
|
||||
Starting with v9.0, the Legacy Alerting HTTP API is deprecated. It will be removed in a future release.
|
||||
{{% /admonition %}}
|
||||
|
||||
This topic is relevant for the [legacy dashboard alerts](https://grafana.com/docs/grafana/v8.5/alerting/old-alerting/) only.
|
||||
This topic is relevant for the [legacy dashboard alerts](/docs/grafana/v8.5/alerting/old-alerting/) only.
|
||||
|
||||
If you are using Grafana Alerting, refer to [Alerting provisioning API]({{< relref "/docs/grafana/latest/developers/http_api/alerting_provisioning" >}})
|
||||
If you are using Grafana Alerting, refer to [Alerting provisioning API]({{< relref "./alerting_provisioning" >}})
|
||||
|
||||
You can find Grafana Alerting API specification details [here](https://editor.swagger.io/?url=https://raw.githubusercontent.com/grafana/grafana/main/pkg/services/ngalert/api/tooling/post.json). Also, refer to [Grafana Alerting alerts documentation]({{< relref "/docs/grafana/latest/alerting" >}}) for details on how to create and manage new alerts.
|
||||
You can find Grafana Alerting API specification details [here](https://editor.swagger.io/?url=https://raw.githubusercontent.com/grafana/grafana/main/pkg/services/ngalert/api/tooling/post.json). Also, refer to [Grafana Alerting alerts documentation]({{< relref "../../alerting" >}}) for details on how to create and manage new alerts.
|
||||
|
||||
You can use the Alerting API to get information about legacy dashboard alerts and their states but this API cannot be used to modify the alert.
|
||||
To create new alerts or modify them you need to update the dashboard JSON that contains the alerts.
|
||||
|
@ -11,7 +11,7 @@ keywords:
|
||||
- alerting
|
||||
- alerts
|
||||
- notifications
|
||||
title: 'Alerting Notification Channels HTTP API '
|
||||
title: Legacy Alerting Notification Channels API
|
||||
---
|
||||
|
||||
# Legacy Alerting Notification Channels API
|
||||
@ -189,7 +189,7 @@ Content-Type: application/json
|
||||
|
||||
```
|
||||
|
||||
**Example response**:
|
||||
**Example response**:
|
||||
|
||||
```http
|
||||
HTTP/1.1 200
|
||||
|
@ -13,7 +13,7 @@ keywords:
|
||||
title: 'Alerting Provisioning HTTP API '
|
||||
---
|
||||
|
||||
# Alerting provisioning API
|
||||
# Alerting provisioning HTTP API
|
||||
|
||||
## Information
|
||||
|
||||
|
Reference in New Issue
Block a user