1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-19 07:54:55 +01:00
gitea/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_org.go
api_test.go
api.go [API] Only Return Json (#13511) 2020-11-14 11:13:55 -05:00
auth.go
context.go
org.go
pagination.go
panic.go
permission.go
repo.go [API] Only Return Json (#13511) 2020-11-14 11:13:55 -05:00