githaven/routers/api/v1
zeripath e69b7a92ed
Allow API to create file on empty repo (#19224)
This PR adds the necessary work to make it possible to create files on empty
repos using the API.

Fix #10993

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-03-28 21:48:41 +02:00
..
admin Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
misc format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
notify Renamed ctx.User to ctx.Doer. (#19161) 2022-03-22 15:03:22 +08:00
org Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
repo Allow API to create file on empty repo (#19224) 2022-03-28 21:48:41 +02:00
settings Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
swagger Add API to get issue/pull comments and events (timeline) (#17403) 2022-01-01 22:12:25 +08:00
user Add ContextUser to http request context (#18798) 2022-03-26 17:04:22 +08:00
utils Use ctx instead of db.DefaultContext in some packages(routers/services/modules) (#19163) 2022-03-22 16:22:54 +01:00
api.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth_windows.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00
auth.go Let web and API routes have different auth methods group (#19168) 2022-03-28 12:46:28 +08:00