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

pull/95013/head
Daniel Strobusch 6 months ago committed by GitHub
parent a9b938427e
commit 169b61b98d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      pkg/api/datasources.go
  2. 3
      public/api-merged.json
  3. 3
      public/openapi3.json

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

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

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

Loading…
Cancel
Save