Browse Source

Another docs update

Torkel Ödegaard 10 years ago
parent
commit
170e8a5d76
1 changed files with 7 additions and 3 deletions
  1. 7 3
      docs/sources/reference/http_api.md

+ 7 - 3
docs/sources/reference/http_api.md

@@ -31,7 +31,7 @@ The `Authorization` header value should be `Bearer <your api key>`.
 
 ## 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,