gitea/routers/api/v1
zeripath 2e85ad665a
Contents API should return 404 on not exist (#10323)
* Return 404 on not exist

* swagger update and use git.IsErrNotExist

* Handle delete too

* Handle delete too x2

* Fix pr 10323 (#3)

* fix TESTS

* leafe a note for fututre

* placate golangci-lint

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update integrations/api_repo_file_delete_test.go

Co-Authored-By: 6543 <6543@obermui.de>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-04-15 02:18:51 -03:00
..
admin
misc Add gitea-vet (#10948) 2020-04-05 07:20:50 +01:00
notify [Api] Check Notify (always return json) (#10059) 2020-04-10 19:49:39 -04:00
org
repo Contents API should return 404 on not exist (#10323) 2020-04-15 02:18:51 -03:00
swagger
user Reject duplicate AccessToken names (#10994) 2020-04-13 22:02:48 +03:00
utils
api.go Add Get/Update for api/v1/user/applications/oauth2 (#11008) 2020-04-09 19:37:31 -05:00