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/modules/structs
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
..
admin_user.go Move sdk structs to modules/structs (#6905) 5 years ago
attachment.go Fix wrong hint when status checking is running on pull request view (#9886) 4 years ago
commit_status.go Fix wrong hint when status checking is running on pull request view (#9886) 4 years ago
doc.go Move sdk structs to modules/structs (#6905) 5 years ago
fork.go Move sdk structs to modules/structs (#6905) 5 years ago
git_blob.go Move sdk structs to modules/structs (#6905) 5 years ago
git_hook.go Move sdk structs to modules/structs (#6905) 5 years ago
hook.go Granular webhook events (#9626) 4 years ago
issue.go [API] expose RepoOwner on Issue responce (#10126) 4 years ago
issue_comment.go Display original author and URL information when showing migrated issues/comments (#7352) 5 years ago
issue_label.go [API] Fix inconsistent label color format (#10129) 4 years ago
issue_milestone.go Move sdk structs to modules/structs (#6905) 5 years ago
issue_reaction.go [API] Fix 9544 | return 200 when reaction already exist (#9550) 5 years ago
issue_stopwatch.go [API] extend StopWatch (#9196) 5 years ago
issue_tracked_time.go [API] Extend times API (#9200) 5 years ago
lfs_lock.go Move sdk structs to modules/structs (#6905) 5 years ago
miscellaneous.go API method to list all commits of a repository (#6408) 5 years ago
notifications.go [API] add endpoint to check notifications [Extend #9488] (#9595) 5 years ago
org.go Add teams to repo on collaboration page. (#8045) 5 years ago
org_member.go Move sdk structs to modules/structs (#6905) 5 years ago
org_team.go [API] orgEditTeam make Fields optional (#9556) 5 years ago
org_type.go Fixes #7023 - API Org Visibility (#7028) 5 years ago
pull.go Fix API deadline removal (#8759) 5 years ago
pull_review.go API: Add pull review endpoints (#11224) 4 years ago
release.go Add single release page and latest redirect (#11102) 4 years ago
repo.go Add support for migrating from Gitlab (#9084) 4 years ago
repo_branch.go Prevent merge of outdated PRs on protected branches (#11012) 4 years ago
repo_collaborator.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_commit.go [API] Extend contents with dates (#9464) 5 years ago
repo_file.go [API] Extend contents with dates (#9464) 5 years ago
repo_key.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_refs.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_tag.go Fixes #2738 - Adds the /git/tags API endpoint (#7138) 5 years ago
repo_topic.go Add API endpoint for accessing repo topics (#7963) 5 years ago
repo_tree.go Move sdk structs to modules/structs (#6905) 5 years ago
repo_watch.go Move sdk structs to modules/structs (#6905) 5 years ago
status.go Move sdk structs to modules/structs (#6905) 5 years ago
task.go Move migrating repository from frontend to backend (#6200) 5 years ago
user.go Add LastLogin to the User API (#7196) 5 years ago
user_app.go Remove Unused Functions (#10516) 4 years ago
user_email.go Move sdk structs to modules/structs (#6905) 5 years ago
user_gpgkey.go Move sdk structs to modules/structs (#6905) 5 years ago
user_key.go Move sdk structs to modules/structs (#6905) 5 years ago