gitea/routers/api/v1
Giteabot e6395e1e81
Handle invalid target when creating releases using API (#31841) (#32043)
Backport #31841 by @kemzeb

A 500 status code was thrown when passing a non-existent target to the
create release API. This snapshot handles this error and instead throws
a 404 status code.

Discovered while working on #31840.

Co-authored-by: Kemal Zebari <60799661+kemzeb@users.noreply.github.com>
2024-09-17 02:23:40 +00:00
..
activitypub Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
admin Fix empty field login_name in API response JSON when creating user (#30511) 2024-04-16 13:13:00 +08:00
misc Fix missing images in editor preview due to wrong links (#31299) (#31393) 2024-06-17 15:07:21 +08:00
notify Clean up log messages (#30313) 2024-04-07 19:17:06 +08:00
org Fix bug on avatar (#31008) (#31019) 2024-05-20 02:54:53 +00:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-02 16:42:31 +01:00
repo Handle invalid target when creating releases using API (#31841) (#32043) 2024-09-17 02:23:40 +00:00
settings Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
shared Update misspell to 0.5.1 and add misspellings.csv (#30573) 2024-04-27 08:03:49 +00:00
swagger feat(api): implement branch/commit comparison API (#30349) 2024-04-16 11:45:04 +08:00
user Fix bug on avatar (#31008) (#31019) 2024-05-20 02:54:53 +00:00
utils Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
api.go feat(api): enhance Actions Secrets Management API for repository (#30656) 2024-04-26 21:11:49 +08:00