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.
6543 c97494a4f4
API: Add pull review endpoints (#11224)
* API: Added pull review read only endpoints

* Update Structs, move Conversion, Refactor

* refactor

* lint & co

* fix lint + refactor

* add new Review state, rm unessesary, refacotr loadAttributes, convert patch to diff

* add DeletePullReview

* add paggination

* draft1: Create & submit review

* fix lint

* fix lint

* impruve test

* DONT use GhostUser for loadReviewer

* expose comments_count of a PullReview

* infent GetCodeCommentsCount()

* fixes

* fix+impruve

* some nits

* Handle Ghosts 👻

* add TEST for GET apis

* complete TESTS

* add HTMLURL to PullReview responce

* code format as per @lafriks

* update swagger definition

* Update routers/api/v1/repo/pull_review.go

Co-authored-by: David Svantesson <davidsvantesson@gmail.com>

* add comments

Co-authored-by: Thomas Berger <loki@lokis-chaos.de>
Co-authored-by: David Svantesson <davidsvantesson@gmail.com>
4 years ago
..
blob.go Swagger info corrections (#9441) 5 years ago
branch.go [API] Add branch delete (#11112) 4 years ago
collaborators.go API add/generalize pagination (#9452) 5 years ago
commits.go [API] Get a single commit via Ref (#10915) 4 years ago
file.go Fix GetContents(): Dont't ignore Executables (#11192) 4 years ago
fork.go API add/generalize pagination (#9452) 5 years ago
git_hook.go Swagger info corrections (#9441) 5 years ago
git_ref.go Swagger info corrections (#9441) 5 years ago
hook.go API add/generalize pagination (#9452) 5 years ago
hook_test.go API endpoint for testing webhook (#3550) 6 years ago
issue.go [API] ListIssues add filter for milestones (#10148) 4 years ago
issue_comment.go API add/generalize pagination (#9452) 5 years ago
issue_label.go Add Organization Wide Labels (#10814) 4 years ago
issue_reaction.go API add/generalize pagination (#9452) 5 years ago
issue_stopwatch.go Prevent panic in stopwatch (#10670) 4 years ago
issue_subscription.go Return issue subscription status from API subscribe (#10966) 4 years ago
issue_tracked_time.go API add/generalize pagination (#9452) 5 years ago
key.go API add/generalize pagination (#9452) 5 years ago
label.go Add Organization Wide Labels (#10814) 4 years ago
main_test.go API endpoint for testing webhook (#3550) 6 years ago
migrate.go Various fixes in login sources (#10428) 4 years ago
milestone.go Fix milestone API state parameter unhandled (#10049) 5 years ago
mirror.go Refactor api repo dir (#10048) 5 years ago
pull.go Support organization labels for PRs in API (#11135) 4 years ago
pull_review.go API: Add pull review endpoints (#11224) 4 years ago
release.go API add/generalize pagination (#9452) 5 years ago
release_attachment.go Swagger info corrections (#9441) 5 years ago
repo.go Option to set default branch at repository creation (#10803) 4 years ago
repo_test.go Fixes #5960 - Adds API Endpoint for Repo Edit (#7006) 5 years ago
star.go API add/generalize pagination (#9452) 5 years ago
status.go API add/generalize pagination (#9452) 5 years ago
subscriber.go API add/generalize pagination (#9452) 5 years ago
tag.go [API] enable paggination for ListRepoTags (#10454) 4 years ago
topic.go API add/generalize pagination (#9452) 5 years ago
transfer.go API endpoint for repo transfer (#9947) 5 years ago
tree.go Swagger info corrections (#9441) 5 years ago