mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
[docs] document 409 Conflict on updating data sources. (#93170)
This commit is contained in:
parent
a9b938427e
commit
169b61b98d
@ -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{}
|
||||||
|
@ -4395,6 +4395,9 @@
|
|||||||
"403": {
|
"403": {
|
||||||
"$ref": "#/responses/forbiddenError"
|
"$ref": "#/responses/forbiddenError"
|
||||||
},
|
},
|
||||||
|
"409": {
|
||||||
|
"$ref": "#/responses/conflictError"
|
||||||
|
},
|
||||||
"500": {
|
"500": {
|
||||||
"$ref": "#/responses/internalServerError"
|
"$ref": "#/responses/internalServerError"
|
||||||
}
|
}
|
||||||
|
@ -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"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user