GAS: swagger update (#97155)

swagger update
This commit is contained in:
Ieva
2024-11-28 17:52:59 +00:00
committed by GitHub
parent fa634e1476
commit 2c77b7ae3d
3 changed files with 0 additions and 595 deletions
-194
View File
@@ -1170,145 +1170,6 @@
}
}
},
"/groupsync/mappings": {
"get": {
"tags": [
"group_attribute_sync",
"enterprise"
],
"summary": "List group mappings. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"operationId": "getGroupMappings",
"responses": {
"200": {
"$ref": "#/responses/getGroupMappingsResponse"
},
"400": {
"$ref": "#/responses/badRequestError"
},
"401": {
"$ref": "#/responses/unauthorisedError"
},
"403": {
"$ref": "#/responses/forbiddenError"
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
},
"post": {
"tags": [
"group_attribute_sync",
"enterprise"
],
"summary": "Create a group mapping. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"operationId": "createGroupMapping",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/groupMappingRequestBody"
}
}
],
"responses": {
"201": {
"$ref": "#/responses/apiResponse"
},
"400": {
"$ref": "#/responses/badRequestError"
},
"401": {
"$ref": "#/responses/unauthorisedError"
},
"403": {
"$ref": "#/responses/forbiddenError"
},
"409": {
"$ref": "#/responses/conflictError"
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
}
},
"/groupsync/mappings/{mapping_uid}": {
"get": {
"tags": [
"group_attribute_sync",
"enterprise"
],
"summary": "Get a group mapping. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"operationId": "getGroupMapping",
"parameters": [
{
"type": "string",
"name": "mapping_uid",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"$ref": "#/responses/getGroupMappingResponse"
},
"400": {
"$ref": "#/responses/badRequestError"
},
"401": {
"$ref": "#/responses/unauthorisedError"
},
"403": {
"$ref": "#/responses/forbiddenError"
},
"404": {
"$ref": "#/responses/notFoundError"
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
},
"delete": {
"tags": [
"group_attribute_sync",
"enterprise"
],
"summary": "Delete a group mapping. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"operationId": "deleteGroupMapping",
"parameters": [
{
"type": "string",
"name": "mapping_uid",
"in": "path",
"required": true
}
],
"responses": {
"204": {
"$ref": "#/responses/okResponse"
},
"400": {
"$ref": "#/responses/badRequestError"
},
"401": {
"$ref": "#/responses/unauthorisedError"
},
"403": {
"$ref": "#/responses/forbiddenError"
},
"404": {
"$ref": "#/responses/notFoundError"
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
}
},
"/licensing/check": {
"get": {
"tags": [
@@ -5175,24 +5036,6 @@
}
}
},
"GroupMapping": {
"type": "object",
"properties": {
"groupID": {
"type": "string"
},
"orgID": {
"type": "integer",
"format": "int64"
},
"uid": {
"type": "string"
},
"variant": {
"type": "string"
}
}
},
"Hit": {
"type": "object",
"properties": {
@@ -8868,17 +8711,6 @@
}
}
},
"getGroupMappings": {
"type": "object",
"properties": {
"mappings": {
"type": "array",
"items": {
"$ref": "#/definitions/GroupMapping"
}
}
}
},
"getGroupsResponse": {
"type": "object",
"properties": {
@@ -8894,20 +8726,6 @@
}
}
},
"groupMappingRequestBody": {
"type": "object",
"properties": {
"groupID": {
"type": "string"
},
"mapping": {
"type": "object"
},
"variant": {
"type": "string"
}
}
},
"healthResponse": {
"type": "object",
"properties": {
@@ -9613,18 +9431,6 @@
}
}
},
"getGroupMappingResponse": {
"description": "",
"schema": {
"$ref": "#/definitions/GroupMapping"
}
},
"getGroupMappingsResponse": {
"description": "",
"schema": {
"$ref": "#/definitions/getGroupMappings"
}
},
"getGroupRolesResponse": {
"description": "",
"schema": {
-194
View File
@@ -5605,145 +5605,6 @@
}
}
},
"/groupsync/mappings": {
"get": {
"tags": [
"group_attribute_sync",
"enterprise"
],
"summary": "List group mappings. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"operationId": "getGroupMappings",
"responses": {
"200": {
"$ref": "#/responses/getGroupMappingsResponse"
},
"400": {
"$ref": "#/responses/badRequestError"
},
"401": {
"$ref": "#/responses/unauthorisedError"
},
"403": {
"$ref": "#/responses/forbiddenError"
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
},
"post": {
"tags": [
"group_attribute_sync",
"enterprise"
],
"summary": "Create a group mapping. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"operationId": "createGroupMapping",
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/groupMappingRequestBody"
}
}
],
"responses": {
"201": {
"$ref": "#/responses/apiResponse"
},
"400": {
"$ref": "#/responses/badRequestError"
},
"401": {
"$ref": "#/responses/unauthorisedError"
},
"403": {
"$ref": "#/responses/forbiddenError"
},
"409": {
"$ref": "#/responses/conflictError"
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
}
},
"/groupsync/mappings/{mapping_uid}": {
"get": {
"tags": [
"group_attribute_sync",
"enterprise"
],
"summary": "Get a group mapping. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"operationId": "getGroupMapping",
"parameters": [
{
"type": "string",
"name": "mapping_uid",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"$ref": "#/responses/getGroupMappingResponse"
},
"400": {
"$ref": "#/responses/badRequestError"
},
"401": {
"$ref": "#/responses/unauthorisedError"
},
"403": {
"$ref": "#/responses/forbiddenError"
},
"404": {
"$ref": "#/responses/notFoundError"
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
},
"delete": {
"tags": [
"group_attribute_sync",
"enterprise"
],
"summary": "Delete a group mapping. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"operationId": "deleteGroupMapping",
"parameters": [
{
"type": "string",
"name": "mapping_uid",
"in": "path",
"required": true
}
],
"responses": {
"204": {
"$ref": "#/responses/okResponse"
},
"400": {
"$ref": "#/responses/badRequestError"
},
"401": {
"$ref": "#/responses/unauthorisedError"
},
"403": {
"$ref": "#/responses/forbiddenError"
},
"404": {
"$ref": "#/responses/notFoundError"
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
}
},
"/health": {
"get": {
"description": "apiHealthHandler will return ok if Grafana's web server is running and it\ncan access the database. If the database cannot be accessed it will return\nhttp status code 503.",
@@ -16466,24 +16327,6 @@
}
}
},
"GroupMapping": {
"type": "object",
"properties": {
"groupID": {
"type": "string"
},
"orgID": {
"type": "integer",
"format": "int64"
},
"uid": {
"type": "string"
},
"variant": {
"type": "string"
}
}
},
"HTTPClientConfig": {
"type": "object",
"title": "HTTPClientConfig configures an HTTP client.",
@@ -22752,17 +22595,6 @@
}
}
},
"getGroupMappings": {
"type": "object",
"properties": {
"mappings": {
"type": "array",
"items": {
"$ref": "#/definitions/GroupMapping"
}
}
}
},
"getGroupsResponse": {
"type": "object",
"properties": {
@@ -22965,20 +22797,6 @@
"$ref": "#/definitions/gettableSilence"
}
},
"groupMappingRequestBody": {
"type": "object",
"properties": {
"groupID": {
"type": "string"
},
"mapping": {
"type": "object"
},
"variant": {
"type": "string"
}
}
},
"healthResponse": {
"type": "object",
"properties": {
@@ -23982,18 +23800,6 @@
}
}
},
"getGroupMappingResponse": {
"description": "(empty)",
"schema": {
"$ref": "#/definitions/GroupMapping"
}
},
"getGroupMappingsResponse": {
"description": "(empty)",
"schema": {
"$ref": "#/definitions/getGroupMappings"
}
},
"getGroupRolesResponse": {
"description": "(empty)",
"schema": {
-207
View File
@@ -895,26 +895,6 @@
},
"description": "(empty)"
},
"getGroupMappingResponse": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GroupMapping"
}
}
},
"description": "(empty)"
},
"getGroupMappingsResponse": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/getGroupMappings"
}
}
},
"description": "(empty)"
},
"getGroupRolesResponse": {
"content": {
"application/json": {
@@ -6396,24 +6376,6 @@
},
"type": "object"
},
"GroupMapping": {
"properties": {
"groupID": {
"type": "string"
},
"orgID": {
"format": "int64",
"type": "integer"
},
"uid": {
"type": "string"
},
"variant": {
"type": "string"
}
},
"type": "object"
},
"HTTPClientConfig": {
"properties": {
"authorization": {
@@ -12680,17 +12642,6 @@
},
"type": "object"
},
"getGroupMappings": {
"properties": {
"mappings": {
"items": {
"$ref": "#/components/schemas/GroupMapping"
},
"type": "array"
}
},
"type": "object"
},
"getGroupsResponse": {
"properties": {
"groups": {
@@ -12891,20 +12842,6 @@
},
"type": "array"
},
"groupMappingRequestBody": {
"properties": {
"groupID": {
"type": "string"
},
"mapping": {
"type": "object"
},
"variant": {
"type": "string"
}
},
"type": "object"
},
"healthResponse": {
"properties": {
"commit": {
@@ -19355,150 +19292,6 @@
]
}
},
"/groupsync/mappings": {
"get": {
"operationId": "getGroupMappings",
"responses": {
"200": {
"$ref": "#/components/responses/getGroupMappingsResponse"
},
"400": {
"$ref": "#/components/responses/badRequestError"
},
"401": {
"$ref": "#/components/responses/unauthorisedError"
},
"403": {
"$ref": "#/components/responses/forbiddenError"
},
"500": {
"$ref": "#/components/responses/internalServerError"
}
},
"summary": "List group mappings. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"tags": [
"group_attribute_sync",
"enterprise"
]
},
"post": {
"operationId": "createGroupMapping",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/groupMappingRequestBody"
}
}
},
"required": true,
"x-originalParamName": "body"
},
"responses": {
"201": {
"$ref": "#/components/responses/apiResponse"
},
"400": {
"$ref": "#/components/responses/badRequestError"
},
"401": {
"$ref": "#/components/responses/unauthorisedError"
},
"403": {
"$ref": "#/components/responses/forbiddenError"
},
"409": {
"$ref": "#/components/responses/conflictError"
},
"500": {
"$ref": "#/components/responses/internalServerError"
}
},
"summary": "Create a group mapping. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"tags": [
"group_attribute_sync",
"enterprise"
]
}
},
"/groupsync/mappings/{mapping_uid}": {
"delete": {
"operationId": "deleteGroupMapping",
"parameters": [
{
"in": "path",
"name": "mapping_uid",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"204": {
"$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": "Delete a group mapping. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"tags": [
"group_attribute_sync",
"enterprise"
]
},
"get": {
"operationId": "getGroupMapping",
"parameters": [
{
"in": "path",
"name": "mapping_uid",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"$ref": "#/components/responses/getGroupMappingResponse"
},
"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": "Get a group mapping. This endpoint is behind the feature flag `groupAttributeSync` and is considered experimental.",
"tags": [
"group_attribute_sync",
"enterprise"
]
}
},
"/health": {
"get": {
"description": "apiHealthHandler will return ok if Grafana's web server is running and it\ncan access the database. If the database cannot be accessed it will return\nhttp status code 503.",