forgejo/routers/api/v1
ThomasBoom89 5feca875ea fix(api): use not found status code when appropriate (#6885)
- Use a 404 error when the issue not found instead of returning an internal server error.
- Resolves #4005
- Added integration test.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6885
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: ThomasBoom89 <thomasboom89@noreply.codeberg.org>
Co-committed-by: ThomasBoom89 <thomasboom89@noreply.codeberg.org>
2025-02-12 20:18:33 +00:00
..
activitypub Transient model for federated unstar (#6740) 2025-02-11 12:49:32 +00:00
admin feat: add configurable cooldown to claim usernames (#6422) 2025-01-24 04:16:56 +00:00
misc Added alt's to <img> 2025-01-31 21:22:00 +00:00
notify drop log.Error in ReadRepoNotifications 2024-03-24 07:12:31 +01:00
org fix(sec): modify api route for variables 2025-02-08 07:21:14 +00:00
packages remove util.OptionalBool and related functions (#29513) 2024-03-06 12:10:46 +08:00
repo fix(api): use not found status code when appropriate (#6885) 2025-02-12 20:18:33 +00:00
settings Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
shared Add search action jobs for API routes, repo, org and global level (#6300) 2025-01-14 11:17:42 +00:00
swagger Inclusion of rename organization api (#33303) 2025-02-02 12:01:58 +01:00
user fix(sec): modify api route for variables 2025-02-08 07:21:14 +00:00
utils Move context from modules to services (#29440) 2024-03-06 12:10:43 +08:00
api.go Inclusion of rename organization api (#33303) 2025-02-02 12:01:58 +01:00