API: Add service account routes to the swagger (#52398)

* API: Add service account routes to the swagger
This commit is contained in:
Sofia Papagiannaki authored and GitHub committed 2022-07-19 12:52:51 +03:00
1 parent a0f96ed4e1
commit e6b9ded949
9 files changed
+1772 -69

No files matched your search

+6 -2
View File
@@ -7,10 +7,14 @@ import (
"github.com/grafana/grafana/pkg/services/accesscontrol"
)
// swagger:model
type NewApiKeyResult struct {
ID int64 `json:"id"`
// example: 1
ID int64 `json:"id"`
// example: grafana
Name string `json:"name"`
Key string `json:"key"`
// example: glsa_yscW25imSKJIuav8zF37RZmnbiDvB05G_fcaaf58a
Key string `json:"key"`
}
type ApiKeyDTO struct {