This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/routers/api/v1/repo
a1012112796 b9850375fc
Add review request api (#11355)
* Add review request api

* add : POST /repos/{owner}/{repo}/pulls/{index}/requested_reviewers
* Remove : DELET /repos/{owner}/{repo}/pulls/{index}/requested_reviewers
* fix some request review bug
* block delet request review by models/DeleteReview()

Signed-off-by: a1012112796 <1012112796@qq.com>

* make fmt

* fix bug

* fix test code

* fix typo

* Apply suggestion from code review @jonasfranz

* fix swagger ref

* fix typo

Co-authored-by: Lauris BH <lauris@nix.lv>

* fix comment

* Change response message

* chang response so some simplfy

* Add ErrIllLegalReviewRequest
fix some nits

* make fmt

* Apply suggestions from code review

Co-authored-by: silverwind <me@silverwind.io>

* * Add team support
* fix test
* fix an known bug

* fix nit

* fix test

* Apply suggestions from code review

Co-authored-by: zeripath <art27@cantab.net>

* update get api and add test

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: zeripath <art27@cantab.net>
2020-10-20 14:18:25 -04:00
..
blob.go
branch.go [Enhancement] Allow admin to merge pr with protected file changes (#12078) 2020-10-13 14:50:57 -04:00
collaborators.go
commits.go Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
file.go
fork.go Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
git_hook.go
git_ref.go
hook.go Refactor: move Commit To APIFormat Code & Lot of StopWatch related things (#12729) 2020-09-18 20:09:26 +08:00
hook_test.go
issue.go Fixed count of filtered issues when api request. (#12275) 2020-09-24 19:30:40 -04:00
issue_comment.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
issue_label.go
issue_reaction.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
issue_stopwatch.go Refactor: move Commit To APIFormat Code & Lot of StopWatch related things (#12729) 2020-09-18 20:09:26 +08:00
issue_subscription.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
issue_tracked_time.go
key.go Improve error feedback for duplicate deploy keys (#13112) 2020-10-12 14:44:56 +01:00
label.go Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
language.go
main_test.go
migrate.go Adopt repositories (#12920) 2020-09-25 07:09:23 +03:00
milestone.go Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
mirror.go
pull.go [Enhancement] Allow admin to merge pr with protected file changes (#12078) 2020-10-13 14:50:57 -04:00
pull_review.go Add review request api (#11355) 2020-10-20 14:18:25 -04:00
release.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
release_attachment.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
release_tags.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
repo.go Add IsTemplate option in create repo ui and api (#12942) 2020-09-25 13:18:37 +08:00
repo_test.go
star.go
status.go [Refactor] Move APIFormat functions into convert package (#12856) 2020-10-17 00:23:08 -04:00
subscriber.go
tag.go
topic.go
transfer.go
tree.go