grafana/pkg/api/dtos
Harry Tennent c56aae6f63
Docs: update annotations API docs to include required field (#52644)
* Update annotations.md

A minor change to include the required fields when creating a new annotation via the annotations API. The error message when fields are missing is not descriptive and there is no indication in the current documentation (that I can see anyway) that would indicate these fields are required.

* Update annotations.md

Update required json body fields to only include fields that are actually required.

* Add required field in Swagger

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-08-03 08:01:25 +00:00
..
acl.go Rename Acl to ACL (#52342) 2022-07-18 15:14:58 +02:00
alerting_test.go Fix misspell issues 2018-09-21 11:54:36 +02:00
alerting.go Chore: Remove dead code (#28664) 2020-11-05 11:00:00 +01:00
annotations.go Docs: update annotations API docs to include required field (#52644) 2022-08-03 08:01:25 +00:00
apikey.go API: Add service account routes to the swagger (#52398) 2022-07-19 12:52:51 +03:00
dashboard.go Public Dashboards: Add Public Tag to Dashboard Title (#52351) 2022-07-19 17:44:41 -06:00
datasource.go backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
folder.go Rename Acl to ACL (#52342) 2022-07-18 15:14:58 +02:00
index.go Navigation: Display Starred dashboards in the Navbar (#51038) 2022-06-27 15:41:00 +01:00
invite.go chore: avoid alias for models in plugins (#22483) 2020-02-28 12:51:21 +01:00
live.go Live: http publish, refactor live interfaces (#32317) 2021-03-30 13:23:29 +03:00
models_test.go Chore: Remove gotest.tools dependency (#31391) 2021-02-22 11:53:15 +01:00
models.go Public Dashboards: Query Caching (#51403) 2022-07-06 12:42:39 -06:00
org.go feat(organization): added update org address to http api and to org details settings view, closes #2672 2015-09-08 14:22:44 +02:00
playlist.go Added playlist controls to new react DashNav 2019-02-04 21:08:30 +01:00
plugins.go Plugins: Refactor plugin dashboards (#44315) 2022-01-28 10:28:33 +01:00
prefs.go I18n: Add locale to user preference (#49425) 2022-06-14 12:53:51 +01:00
short_url.go Dashboard: Allow shortlink generation (#27409) 2020-10-14 12:48:48 +02:00
user_token.go Feature: Parse user agent string in user auth token api response (#16… (#17504) 2019-06-11 14:12:52 +02:00
user.go Chore: Remove unused Go code (#28852) 2020-11-17 11:51:31 +01:00