agola/internal/services/configstore/api
Simone Gotti 4fb250a668 configstore api: improve response handling
* Always return a json message also on error. For internal errors return a
generic "internal server error" message to not leak the real internal error to
clients
* Return 201 Created on resource creation
* Return 204 No Content on resource deletion and other action with no json
output
2019-04-08 12:29:25 +02:00
..
api.go configstore api: improve response handling 2019-04-08 12:29:25 +02:00
client.go client: fix content type header case 2019-04-08 12:28:15 +02:00
org.go configstore api: improve response handling 2019-04-08 12:29:25 +02:00
project.go configstore api: improve response handling 2019-04-08 12:29:25 +02:00
projectgroup.go configstore api: improve response handling 2019-04-08 12:29:25 +02:00
remotesource.go configstore api: improve response handling 2019-04-08 12:29:25 +02:00
secret.go configstore api: improve response handling 2019-04-08 12:29:25 +02:00
user.go configstore api: improve response handling 2019-04-08 12:29:25 +02:00
variable.go configstore api: improve response handling 2019-04-08 12:29:25 +02:00