147 Commits

Author SHA1 Message Date
e5971eef1f docs: clarify page parameter version support for folder/dashboard search (#16836)
Adds a version disclaimer for the page parameter in folder/dashboard search docs.

Fixes #16827
2019-05-01 11:42:03 +02:00
42b745a098 Provisioning: Add API endpoint to reload provisioning configs (#16579)
* Add api to reaload provisioning

* Refactor and simplify the polling code

* Add test for the provisioning service

* Fix provider initialization and move some code to file reader

* Simplify the code and move initialization

* Remove unused code

* Update comment

* Add comment

* Change error messages

* Add DashboardProvisionerFactory type

* Update imports

* Use new assert lib

* Use mutext for synchronizing the reloading

* Fix typo

Co-Authored-By: aocenas <mr.ocenas@gmail.com>

* Add docs about the new api
2019-04-25 09:06:44 +02:00
8b0dd4244b Search: Fixes search limits and adds a page parameter (#16458)
* Search: Fixes search limits and adds a page parameter

This adds a page parameter to search api without adding
any major breaking change.

It does at an api validation error when trying to use
a limit beyond 5000. This is a breaking change. We could
remove this and have it only in the docs and describe that this
is a limit that grafana will apply silently.

Fixes #16049

* Fix: Corrected wrong array slice change

* Docs: minor docs fix

* Search: fixed folder tests

* Fixed: Moved limit to correct inner query

* Search: moving limit check and page check

* Search: limit in handler is no longer needed
2019-04-17 13:07:50 +02:00
3d82c848dd docs: fixes and update current version 2019-04-09 17:30:21 +02:00
79b86466fd Fix: Alerting Notification channel http api fixes (#16288)
Fix so that uid can be changed when updating notification
channels through the http api.
Update documentation
2019-03-29 09:42:38 +01:00
2ae63e70c0 Alerting: Notification channel http api enhancements (#16219)
Now returns uid in response to get notification channel by id.
Adds GET/PUT/DELETE support for notification channel by uid, 
  /api/alert-notifications/uid/:uid.
Break apart alerting and alert notification http api docs in two 
  pages and update documentation to make it up to date
  with current implementation.

Fixes #16012
2019-03-26 18:37:02 +07:00
2a207d6970 clarify notifications API docs 2019-03-24 11:49:20 +01:00
80ce11a4a4 docs: update admin and user http api documentation 2019-03-08 15:15:57 +01:00
1bcaaccb96 docs: missing field added to example
Closes #15715
2019-03-01 16:07:34 +01:00
6848fe0edf docs: update annotaions http api 2019-02-06 14:26:43 +01:00
4de9e3598b Address review comments 2019-02-06 06:41:39 +10:00
a7a964ec19 Added PATCH verb end point for annotation op
Added new PATCH verb annotation endpoint

Removed unwanted fmt

Added test cases for PATCH verb annotation endpoint

Fixed formatting issue

Check arr len before proceeding

Updated doc to include PATCH verb annotation endpt
2019-02-05 09:43:17 +10:00
1fc5ea181a Document /api/health
Document the health check implemented in #3302 (and #935), see  https://github.com/grafana/grafana/issues/3302#issuecomment-297066201
2019-01-25 17:52:28 +01:00
4712a87733 Revert "Specify expected encoding for access/secret key" 2019-01-18 16:37:43 +01:00
aa799c6f0b Fixed Syntax for folder permission's JSON 2019-01-14 10:53:16 -05:00
294fb7b3bc fix JSON in responses for Admin API documentation 2019-01-06 16:57:44 -06:00
5d60d323e2 docs/*: Fix misspell issues
See,
$ find . -type f | xargs misspell -locale US | grep -vi -e vendor -e node_modules -e devenv -e unknwon | grep docs
2018-11-29 18:14:20 +01:00
4a2e9b4bfa chore: correct pause-all-alerts auth in docs 2018-11-26 09:43:26 -05:00
a241f67fba Add doc for api "GET /api/users/:id/teams" 2018-11-20 10:17:46 +08:00
33469ecfab docs: team http api update 2018-11-14 17:59:32 +01:00
662808f092 Merge pull request #13930 from grafana/enterprise-docs
docs: restructure and enhancement
2018-11-08 01:50:35 -08:00
1bc3f0af07 Update docs/sources/http_api/datasource_permissions.md
Co-Authored-By: marefr <marcus.efraimsson@gmail.com>
2018-11-06 15:56:12 +01:00
7e13aa2cfb Fix minor JSON typo in HTTP API docs 2018-11-01 10:05:26 -07:00
280c8631f9 docs: enhanced ldap 2018-10-31 18:01:30 +01:00
5495072c83 docs: fix datasource permissions keywords 2018-10-31 17:18:31 +01:00
fc6d7c9b6b datasource permission http api 2018-10-30 19:02:12 +01:00
69cf131f81 docs: fix minor typos 2018-10-06 17:09:41 +02:00
320947359c Merge branch '12886-docs-authentication-section' 2018-09-06 13:16:17 +02:00
51069c9ccb docs: reminder notifications update 2018-08-23 18:56:37 +02:00
76bd173a36 created a section under administration for authentication, moved ldap guide here, created pages for auth-proxy, oauth, anonymous auth, ldap sync with grafana ee, and overview, moved authentication guides from configuration to, added linksin configuration page to guides 2018-08-23 15:58:37 +02:00
b8671b201e Merge pull request #12879 from anwar6953/patch-1
Fix typo
2018-08-14 22:56:00 +02:00
c5c518fd17 docs: remove message property in response from get alerts http api
Fixes #12524
2018-08-14 15:17:29 +02:00
5fd8849d65 Update dashboard.md 2018-08-11 23:44:15 -07:00
8d2aac0936 Fix typo 2018-08-11 23:42:31 -07:00
beddfdd86b add api route for retrieving teams of signed in user 2018-08-08 10:26:05 +02:00
05e060dee0 HTTP API documentation +fix when updating a playlist (#12612)
* get id from path param when updating a playlist

* add playlist http api documentation

* remove required condition for the id in update cmd
2018-07-17 07:45:38 -07:00
86a574cc50 refix the settings indentation 2018-07-04 12:30:23 +02:00
991a4b1663 update stats admin doc 2018-07-04 12:26:30 +02:00
01fc6c5d95 fix json indentation 2018-07-04 12:23:10 +02:00
7a4858dd11 docs: update folders api 2018-06-29 20:24:02 +02:00
cdaeb1578d docs: update organisation http api
make the distinction clearer between /api/org and /api/orgs and that
basic auth must be used for the /api/orgs resource
2018-06-29 19:10:42 +02:00
3056d9a80e support passing api token in Basic auth password (#12416) 2018-06-28 03:08:32 -07:00
2765afc830 Document the endpoint for deleting an org 2018-06-14 15:28:54 -04:00
0c269d64d0 Alert panel filters (#11712)
alert list panel: filter alerts by name, dashboard, folder, tags
2018-06-01 14:36:40 +02:00
417db13efb Fix dashboard snapshot deletion (#12025)
* fix issue deleting dashboard snapshots by deleteKey, add dedicated endopoint for authenticated requests, update frontend, tests & docs.
2018-05-24 08:55:16 +02:00
a376de56f2 Merge pull request #11934 from liquidm/improve_alert_docs
Improve alert docs
2018-05-21 14:34:58 +02:00
c09c00a1f5 fixes following first code review 2018-05-15 10:06:26 +02:00
295169b94f add useful note to alerting api docs 2018-05-14 20:50:44 +02:00
2dd40eb4e4 improve alerting api docs sample responses 2018-05-14 20:50:08 +02:00
1157542f70 Update dashboard_permissions.md
miss { in repsponse
2018-05-11 10:19:28 +08:00