From 170e8a5d7674a558dc87cf7cd4777d50f5d33194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 22 Apr 2015 13:47:15 +0200 Subject: [PATCH] Another docs update --- docs/sources/reference/http_api.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/sources/reference/http_api.md b/docs/sources/reference/http_api.md index 5b24cd1a12b..242fd8c89dc 100644 --- a/docs/sources/reference/http_api.md +++ b/docs/sources/reference/http_api.md @@ -31,7 +31,7 @@ The `Authorization` header value should be `Bearer `. ## Dashboards -### Create or Update dashboard +### Create / Update dashboard `POST /api/dashboards/db` @@ -63,13 +63,12 @@ Creates a new dashboard or updates an existing dashboard. JSON Body schema: - **dashboard** – The complete dashboard model, id = null to create a new dashboard -- **overwrite** – Set to true if you want to overwrite existing dashboard with new version or with same dashboard title. +- **overwrite** – Set to true if you want to overwrite existing dashboard with newer version or with same dashboard title. **Example Response**: HTTP/1.1 200 OK Content-Type: application/json; charset=UTF-8 - Date: Wed, 22 Apr 2015 11:12:06 GMT Content-Length: 78 { @@ -112,6 +111,11 @@ Will return the dashboard given the dashboard slug. Slug is the url friendly ver Content-Type: application/json Authorization: Bearer eyJrIjoiT0tTcG1pUlY2RnVKZTFVaDFsNFZXdE9ZWmNrMkZYbk +**Example Response**: + + HTTP/1.1 200 + Content-Type: application/json + { "meta": { "isStarred": false,