bench-forgejo/routers/api/v1
zeripath a5440fcb1e
Report error if API merge is not allowed (#12528)
#12496 demonstrated that the API merge needs to return some information as
to why a merge has been disallowed with a status code 422.

This PR ensures that a reason is always returned.

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: Lauris BH <lauris@nix.lv>
2020-08-19 17:35:06 -04:00
..
admin Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
misc API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings (#11854) 2020-06-22 14:21:31 -04:00
notify Extend Notifications API and return pinned notifications by default (#12164) 2020-07-12 00:46:01 +03:00
org Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
repo Report error if API merge is not allowed (#12528) 2020-08-19 17:35:06 -04:00
settings API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings (#11854) 2020-06-22 14:21:31 -04:00
swagger API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings (#11854) 2020-06-22 14:21:31 -04:00
user Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
utils Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
api.go Add API to update pr headBranch (#12419) 2020-08-04 21:55:22 +01:00