Browse Source

Updated configuration and http api docs

Torkel Ödegaard 10 years ago
parent
commit
da74fa0862

+ 1 - 1
docs/sources/installation/configuration.md

@@ -252,7 +252,7 @@ How long sessions lasts in seconds. Defaults to `86400` (24 hours).
 When enabled Grafana will send anonymous usage statistics to stats.grafana.org.
 When enabled Grafana will send anonymous usage statistics to stats.grafana.org.
 No ip addresses are being tracked, only simple counters to track running instances,
 No ip addresses are being tracked, only simple counters to track running instances,
 versions, dashboard & error counts. It is very helpful to us, please leave this
 versions, dashboard & error counts. It is very helpful to us, please leave this
-enabled. Counters are sent every 24 hours.
+enabled. Counters are sent every 24 hours. Default value is `true`.
 
 
 ### google_analytics_ua_id
 ### google_analytics_ua_id
 If you want to track Grafana usage via Google analytics specify *your* Univeral Analytics ID
 If you want to track Grafana usage via Google analytics specify *your* Univeral Analytics ID

+ 8 - 0
docs/sources/reference/http_api.md

@@ -135,8 +135,16 @@ Will return the dashboard given the dashboard slug. Slug is the url friendly ver
           },
           },
         }
         }
 
 
+### Delete dashboard
+
+`DELETE /api/dashboards/db/:slug`
+
+The above will delete the dashboard with the specified slug. The slug is the url friendly (unique) version of the dashboard title.
+
 ## Data sources
 ## Data sources
 
 
+### Create data source
+
 ## Organizations
 ## Organizations
 
 
 ## Users
 ## Users