0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-28 04:04:27 +01:00
gitea/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
misc
notify
org
repo Provide diff and patch API endpoints (#11751) 2020-06-05 14:03:12 +03:00
swagger
user
utils
api.go Provide diff and patch API endpoints (#11751) 2020-06-05 14:03:12 +03:00