mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Swagger: sync specs with enterprise (#88355)
This commit is contained in:
parent
6d98f53e8b
commit
39298a656a
@ -760,6 +760,43 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/datasources/uid/{uid}/lbac/teams": {
|
||||
"put": {
|
||||
"tags": [
|
||||
"enterprise"
|
||||
],
|
||||
"summary": "Updates LBAC rules for a team.",
|
||||
"operationId": "updateTeamLBACRulesApi",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "uid",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"$ref": "#/responses/okResponse"
|
||||
},
|
||||
"400": {
|
||||
"$ref": "#/responses/badRequestError"
|
||||
},
|
||||
"401": {
|
||||
"$ref": "#/responses/unauthorisedError"
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/responses/forbiddenError"
|
||||
},
|
||||
"404": {
|
||||
"$ref": "#/responses/notFoundError"
|
||||
},
|
||||
"500": {
|
||||
"$ref": "#/responses/internalServerError"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/datasources/{dataSourceUID}/cache": {
|
||||
"get": {
|
||||
"description": "get cache config for a single data source",
|
||||
|
@ -4315,6 +4315,40 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/datasources/uid/{uid}/lbac/teams": {
|
||||
"get": {
|
||||
"summary": "Retrieves LBAC rules for a team.",
|
||||
"operationId": "getTeamLBACRulesApiResponse",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"name": "uid",
|
||||
"in": "path",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"$ref": "#/responses/okResponse"
|
||||
},
|
||||
"400": {
|
||||
"$ref": "#/responses/badRequestError"
|
||||
},
|
||||
"401": {
|
||||
"$ref": "#/responses/unauthorisedError"
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/responses/forbiddenError"
|
||||
},
|
||||
"404": {
|
||||
"$ref": "#/responses/notFoundError"
|
||||
},
|
||||
"500": {
|
||||
"$ref": "#/responses/internalServerError"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/datasources/uid/{uid}/resources/{datasource_proxy_route}": {
|
||||
"get": {
|
||||
"tags": [
|
||||
|
@ -17143,6 +17143,42 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/datasources/uid/{uid}/lbac/teams": {
|
||||
"get": {
|
||||
"operationId": "getTeamLBACRulesApiResponse",
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "uid",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"$ref": "#/components/responses/okResponse"
|
||||
},
|
||||
"400": {
|
||||
"$ref": "#/components/responses/badRequestError"
|
||||
},
|
||||
"401": {
|
||||
"$ref": "#/components/responses/unauthorisedError"
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/components/responses/forbiddenError"
|
||||
},
|
||||
"404": {
|
||||
"$ref": "#/components/responses/notFoundError"
|
||||
},
|
||||
"500": {
|
||||
"$ref": "#/components/responses/internalServerError"
|
||||
}
|
||||
},
|
||||
"summary": "Retrieves LBAC rules for a team."
|
||||
}
|
||||
},
|
||||
"/datasources/uid/{uid}/resources/{datasource_proxy_route}": {
|
||||
"get": {
|
||||
"operationId": "callDatasourceResourceWithUID",
|
||||
|
Loading…
Reference in New Issue
Block a user