Swagger: sync specs with enterprise (#88355)

This commit is contained in:
Sofia Papagiannaki 2024-05-28 01:12:54 +03:00 committed by GitHub
parent 6d98f53e8b
commit 39298a656a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 107 additions and 0 deletions

View File

@ -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",

View File

@ -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": [

View File

@ -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",