We currently have some WS in api/qualitygates that are POST operations and returns full ressources. We are trying to avoid that kind of comportement now. Those WS should only return the key of the created ressource.
WS that should only return a key :
WS that should return nothing :
On the UI side we should always call api/qualitygates/list to update the quality gates list and api/qualitygates/show to update the displayed Quality Gate. (We should also drop the redux store for QG)