gitea/routers/api/v1/repo
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
..
blob.go
branch.go
collaborators.go
commits.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
file.go
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
issue_comment.go
issue_label.go
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go Add name filter to API for GetMilestoneList (#12336) 2020-07-28 12:30:40 +01:00
mirror.go
pull.go Report error if API merge is not allowed (#12528) 2020-08-19 17:35:06 -04:00
pull_review.go
release.go Add action feed for new release (#12324) 2020-07-29 15:20:54 -04:00
release_attachment.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
repo.go Kanban board (#8346) 2020-08-16 23:07:38 -04:00
repo_test.go
star.go
status.go Add Access-Control-Expose-Headers (#12446) 2020-08-13 18:18:18 +01:00
subscriber.go
tag.go
topic.go
transfer.go Fix bug preventing transfer to private organization (#12497) 2020-08-16 16:27:08 -04:00
tree.go