0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-13 21:41:16 +01:00
gitea/routers/api/v1/swagger
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
..
app.go Swagger AccessToken fixes (#16574) 2021-08-01 16:44:15 -04:00
cron.go Add cron running API (#12421) 2020-08-24 11:48:15 -04:00
issue.go Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
key.go Move sdk structs to modules/structs (#6905) 2019-05-11 18:21:34 +08:00
misc.go API: Move AllowedReactions endpoint into GetGenneralUI endpoint + creat new swagger section settings (#11854) 2020-06-22 14:21:31 -04:00
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
notify.go [API] add endpoint to check notifications [Extend #9488] (#9595) 2020-01-14 16:37:19 +01:00
options.go Add API to get/edit wiki (#17278) 2021-10-25 11:43:40 +08:00
org.go [API] Add endpount to get user org permissions (#17232) 2021-10-12 12:47:19 +02:00
repo.go Add API to get/edit wiki (#17278) 2021-10-25 11:43:40 +08:00
settings.go Expose Attachemnt Settings by API (#12514) 2020-09-05 08:43:06 +01:00
user.go [API] GET / SET User Settings (#16169) 2021-06-23 15:58:44 -04:00