You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers/api/v1/swagger
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>
4 years ago
..
app.go adds API endpoints to manage OAuth2 Application (list/create/delete) (#10437) 4 years ago
cron.go Add cron running API (#12421) 4 years ago
issue.go Issue templates directory (#11450) 4 years ago
key.go Move sdk structs to modules/structs (#6905) 5 years ago
misc.go API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings (#11854) 4 years ago
notify.go [API] add endpoint to check notifications [Extend #9488] (#9595) 5 years ago
options.go Add review request api (#11355) 4 years ago
org.go Move sdk structs to modules/structs (#6905) 5 years ago
repo.go Add language statistics API endpoint (#11737) 4 years ago
settings.go Expose Attachemnt Settings by API (#12514) 4 years ago
user.go Move sdk structs to modules/structs (#6905) 5 years ago