1
0
Fork 0
forgejo/modules/context
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
..
api.go [API] Only Return Json (#13511) 2020-11-14 11:13:55 -05:00
api_org.go Golint fixed for modules/context 2016-11-25 14:53:59 +08:00
api_test.go fix API link header (#7298) 2019-06-26 16:51:32 +08:00
auth.go Move install pages out of main macaron routes (#13195) 2020-10-19 17:03:08 -04:00
context.go Add a storage layer for attachments (#11387) 2020-08-18 12:23:45 +08:00
org.go API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
pagination.go Multiple GitGraph improvements: Exclude PR heads, Add branch/PR links, Show only certain branches, (#12766) 2020-11-08 12:21:54 -05:00
panic.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
permission.go Use Req.URL.RequestURI() to cope with FCGI urls (#9473) 2019-12-24 00:11:12 +00:00
repo.go [API] Only Return Json (#13511) 2020-11-14 11:13:55 -05:00