Commit 9c246ba3 by Torkel Ödegaard

docs: fixed http docs for alert notifications, fixes #8105

parent 20ac8bf8
...@@ -127,11 +127,11 @@ This API can also be used to create, update and delete alert notifications. ...@@ -127,11 +127,11 @@ This API can also be used to create, update and delete alert notifications.
## Create alert notification ## Create alert notification
`POST /api/alerts-notifications` `POST /api/alert-notifications`
**Example Request**: **Example Request**:
POST /api/alerts-notifications HTTP/1.1 POST /api/alert-notifications HTTP/1.1
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
...@@ -162,11 +162,11 @@ This API can also be used to create, update and delete alert notifications. ...@@ -162,11 +162,11 @@ This API can also be used to create, update and delete alert notifications.
## Update alert notification ## Update alert notification
`PUT /api/alerts-notifications/1` `PUT /api/alert-notifications/1`
**Example Request**: **Example Request**:
PUT /api/alerts-notifications/1 HTTP/1.1 PUT /api/alert-notifications/1 HTTP/1.1
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
...@@ -198,7 +198,7 @@ This API can also be used to create, update and delete alert notifications. ...@@ -198,7 +198,7 @@ This API can also be used to create, update and delete alert notifications.
## Delete alert notification ## Delete alert notification
`DELETE /api/alerts-notifications/:notificationId` `DELETE /api/alert-notifications/:notificationId`
**Example Request**: **Example Request**:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment