API: Add service account routes to the swagger (#52398)
* API: Add service account routes to the swagger
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user