gitea/routers/api/v1
6543 7d2700c8be
[API] Only Return Json (#13511)
* Let Branch and Raw Endpoint return json error if not found

* Revert "RM RepoRefByTypeForAPI and move needed parts into GetRawFile directly"

This reverts commit d826d08577b23765cb3c257e7a861191d1aa9a04.

* more similar to RepoRefByType

* dedub-code

* API should just speak JSON

* nice name

Co-authored-by: zeripath <art27@cantab.net>
2020-11-14 11:13:55 -05:00
..
admin Adopt repositories (#12920) 2020-09-25 07:09:23 +03:00
misc Not using "ctx.ServerError" in api (#12907) 2020-09-20 21:20:14 +01:00
notify API: Fix GetQueryBeforeSince (#13559) 2020-11-14 14:05:40 +00:00
org Fix ListUserOrgs (#12910) 2020-09-21 00:55:48 +03:00
repo [API] Only Return Json (#13511) 2020-11-14 11:13:55 -05:00
settings fix: case typo (#13049) 2020-10-06 12:16:16 -04:00
swagger Add review request api (#11355) 2020-10-20 14:18:25 -04:00
user [API] Delete Token accept names too (#12366) 2020-08-28 11:09:33 +03:00
utils API: Fix GetQueryBeforeSince (#13559) 2020-11-14 14:05:40 +00:00
api.go [API] Only Return Json (#13511) 2020-11-14 11:13:55 -05:00