forgejo/routers/api/v1
zeripath f761a37a0f
Provide diff and patch API endpoints (#11751)
* Provide diff and patch API endpoints

The diff and patch endpoints on the main routes are not accessible by token
therefore we provide new API based endpoints for these

Fix #10923

Signed-off-by: Andrew Thornton <art27@cantab.net>

* placate swagger

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Make the response an actual string

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
2020-06-05 14:03:12 +03:00
..
admin Various fixes in login sources (#10428) 2020-02-23 13:52:05 -06:00
misc Fix bug with globally disabling mirror (#11760) 2020-06-04 19:06:24 +01:00
notify [Api] Check Notify (always return json) (#10059) 2020-04-10 19:49:39 -04:00
org Add Organization Wide Labels (#10814) 2020-04-01 01:14:46 -03:00
repo Provide diff and patch API endpoints (#11751) 2020-06-05 14:03:12 +03:00
swagger [API] Expose allowed Reactions (#11735) 2020-06-04 12:16:53 +03:00
user Handle expected errors in AddGPGkey API (#11644) 2020-05-28 17:25:54 -04:00
utils Granular webhook events (#9626) 2020-03-06 07:10:48 +02:00
api.go Provide diff and patch API endpoints (#11751) 2020-06-05 14:03:12 +03:00