gitea/routers/api/v1/repo
qwerty287 7db2f110ad
Add API to get issue/pull comments and events (timeline) (#17403)
* Add API to get issue/pull comments and events (timeline)
Adds an API to get both comments and events in one endpoint with all required data.
Closes go-gitea/gitea#13250

* Fix swagger

* Don't show code comments (use review api instead)

* fmt

* Fix comment

* Time -> TrackedTime

* Use var directly

* Add logger

* Fix lint

* Fix test

* Add comments

* fmt

* [test] get issue directly by ID

* Update test

* Add description for changed refs

* Fix build issues + lint

* Fix build

* Use string enums

* Update swagger

* Support `page` and `limit` params

* fmt + swagger

* Use global slices

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-01-01 22:12:25 +08:00
..
blob.go
branch.go
collaborators.go
commits.go Add API to get file commit history (#17652) 2021-12-22 06:17:33 +00:00
file.go
fork.go - name: new parameter in CreateForkOption to give the forked repository (#18066) 2021-12-24 22:43:00 +08:00
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go
issue_comment.go Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
issue_label.go
issue_reaction.go Add missing `X-Total-Count` and fix some related bugs (#17968) 2021-12-15 13:39:34 +08:00
issue_stopwatch.go
issue_subscription.go When attempting to subscribe other user to issue report why access denied (#18091) 2021-12-24 21:47:42 +08:00
issue_tracked_time.go
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
pull.go Abort merge if head has been updated before pressing merge (#18032) 2021-12-20 08:32:54 +08:00
pull_review.go
release.go
release_attachment.go
release_tags.go
repo.go
repo_test.go
star.go
status.go Add missing `X-Total-Count` and fix some related bugs (#17968) 2021-12-15 13:39:34 +08:00
subscriber.go
tag.go
teams.go
topic.go
transfer.go Add API to manage repo tranfers (#17963) 2021-12-23 23:26:52 -05:00
tree.go Add missing `X-Total-Count` and fix some related bugs (#17968) 2021-12-15 13:39:34 +08:00
wiki.go Add missing `X-Total-Count` and fix some related bugs (#17968) 2021-12-15 13:39:34 +08:00