docs(http): fixes typos

This commit is contained in:
bergquist 2017-01-09 16:43:44 +01:00
parent bcfe048aae
commit 4f216f22e9

View File

@ -23,7 +23,7 @@ This API can also be used to create, update and delete alert notifications.
**Example Request**: **Example Request**:
GET /api/org HTTP/1.1 GET /api/alerts HTTP/1.1
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
@ -52,7 +52,7 @@ This API can also be used to create, update and delete alert notifications.
**Example Request**: **Example Request**:
GET /api/org HTTP/1.1 GET /api/alerts/1 HTTP/1.1
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
@ -80,7 +80,7 @@ This API can also be used to create, update and delete alert notifications.
**Example Request**: **Example Request**:
GET /api/org HTTP/1.1 POST /api/alerts/1/pause HTTP/1.1
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
@ -106,7 +106,7 @@ This API can also be used to create, update and delete alert notifications.
**Example Request**: **Example Request**:
GET /api/org HTTP/1.1 GET /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
@ -131,7 +131,7 @@ This API can also be used to create, update and delete alert notifications.
**Example Request**: **Example Request**:
GET /api/org HTTP/1.1 POST /api/alerts-notifications HTTP/1.1
Accept: application/json Accept: application/json
Content-Type: application/json Content-Type: application/json
Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk
@ -140,8 +140,8 @@ This API can also be used to create, update and delete alert notifications.
"name": "new alert notification", //Required "name": "new alert notification", //Required
"type": "email", //Required "type": "email", //Required
"isDefault": false, "isDefault": false,
"settings": { "settings": {
"addresses: "carl@grafana.com;dev@grafana.com" "addresses": "carl@grafana.com;dev@grafana.com"
} }
} }
@ -166,7 +166,7 @@ This API can also be used to create, update and delete alert notifications.
**Example Request**: **Example Request**:
GET /api/org HTTP/1.1 PUT /api/alerts-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,11 +198,11 @@ This API can also be used to create, update and delete alert notifications.
## Delete alert notification ## Delete alert notification
`DELETE /api/alerts-notifications/1` `DELETE /api/alerts-notifications/:notificationId`
**Example Request**: **Example Request**:
GET /api/org HTTP/1.1 DELETE /api/alerts-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