TeamLBAC: add missing swagger tag (#88374)

This commit is contained in:
Sofia Papagiannaki
2024-05-28 15:34:30 +03:00
committed by GitHub
parent 5ce68c50e3
commit d2f44816fd
3 changed files with 116 additions and 3 deletions
+35
View File
@@ -761,6 +761,41 @@
}
},
"/datasources/uid/{uid}/lbac/teams": {
"get": {
"tags": [
"enterprise"
],
"summary": "Retrieves LBAC rules for a team.",
"operationId": "getTeamLBACRulesApi",
"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"
}
}
},
"put": {
"tags": [
"enterprise"
+39 -1
View File
@@ -4317,8 +4317,46 @@
},
"/datasources/uid/{uid}/lbac/teams": {
"get": {
"tags": [
"enterprise"
],
"summary": "Retrieves LBAC rules for a team.",
"operationId": "getTeamLBACRulesApiResponse",
"operationId": "getTeamLBACRulesApi",
"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"
}
}
},
"put": {
"tags": [
"enterprise"
],
"summary": "Updates LBAC rules for a team.",
"operationId": "updateTeamLBACRulesApi",
"parameters": [
{
"type": "string",
+42 -2
View File
@@ -17145,7 +17145,7 @@
},
"/datasources/uid/{uid}/lbac/teams": {
"get": {
"operationId": "getTeamLBACRulesApiResponse",
"operationId": "getTeamLBACRulesApi",
"parameters": [
{
"in": "path",
@@ -17176,7 +17176,47 @@
"$ref": "#/components/responses/internalServerError"
}
},
"summary": "Retrieves LBAC rules for a team."
"summary": "Retrieves LBAC rules for a team.",
"tags": [
"enterprise"
]
},
"put": {
"operationId": "updateTeamLBACRulesApi",
"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": "Updates LBAC rules for a team.",
"tags": [
"enterprise"
]
}
},
"/datasources/uid/{uid}/resources/{datasource_proxy_route}": {