[docs] document 409 Conflict on updating data sources. (#93170)

This commit is contained in:
Daniel Strobusch 2024-11-21 10:28:30 +01:00 committed by GitHub
parent a9b938427e
commit 169b61b98d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 0 deletions

View File

@ -492,6 +492,7 @@ func (hs *HTTPServer) UpdateDataSourceByID(c *contextmodel.ReqContext) response.
// 200: createOrUpdateDatasourceResponse // 200: createOrUpdateDatasourceResponse
// 401: unauthorisedError // 401: unauthorisedError
// 403: forbiddenError // 403: forbiddenError
// 409: conflictError
// 500: internalServerError // 500: internalServerError
func (hs *HTTPServer) UpdateDataSourceByUID(c *contextmodel.ReqContext) response.Response { func (hs *HTTPServer) UpdateDataSourceByUID(c *contextmodel.ReqContext) response.Response {
cmd := datasources.UpdateDataSourceCommand{} cmd := datasources.UpdateDataSourceCommand{}

View File

@ -4395,6 +4395,9 @@
"403": { "403": {
"$ref": "#/responses/forbiddenError" "$ref": "#/responses/forbiddenError"
}, },
"409": {
"$ref": "#/responses/conflictError"
},
"500": { "500": {
"$ref": "#/responses/internalServerError" "$ref": "#/responses/internalServerError"
} }

View File

@ -18058,6 +18058,9 @@
"403": { "403": {
"$ref": "#/components/responses/forbiddenError" "$ref": "#/components/responses/forbiddenError"
}, },
"409": {
"$ref": "#/components/responses/conflictError"
},
"500": { "500": {
"$ref": "#/components/responses/internalServerError" "$ref": "#/components/responses/internalServerError"
} }