gitea/routers/api/v1/repo
Kemal Zebari f05d9c98c4
Handle invalid target when creating releases using API (#31841)
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.
2024-09-12 07:47:31 +00:00
..
action.go Set owner id to zero when GetRegistrationToken for repo (#31725) 2024-07-29 18:46:45 +00:00
avatar.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
blob.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
branch.go Allow force push to protected branches (#28086) 2024-07-05 18:21:56 +00:00
collaborators.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
commits.go Return 404 instead of error when commit not exist (#31977) 2024-09-06 02:39:23 +08:00
compare.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
file.go Add return type to GetRawFileOrLFS and GetRawFile (#31680) 2024-07-25 14:06:19 +02:00
fork.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
git_hook.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
git_ref.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
hook_test.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
hook.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_attachment.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_comment_attachment.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_comment.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_dependency.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_label.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_pin.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_reaction.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_stopwatch.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_subscription.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue_tracked_time.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
issue.go Fix 500 error when state params is set when editing issue/PR by API (#31880) 2024-09-02 02:08:27 +08:00
key.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
label.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
language.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
migrate.go Support migration from AWS CodeCommit (#31981) 2024-09-11 07:49:42 +08:00
milestone.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
mirror.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
notes.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
patch.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
pull_review.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
pull.go bump to go 1.23 (#31855) 2024-09-10 02:23:07 +00:00
release_attachment.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
release_tags.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
release.go Handle invalid target when creating releases using API (#31841) 2024-09-12 07:47:31 +00:00
repo_test.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
repo.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
star.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
status.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
subscriber.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
tag.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
teams.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
topic.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
transfer.go Add user blocking (#29028) 2024-03-04 08:16:03 +00:00
tree.go Refactor names (#31405) 2024-06-19 06:32:45 +08:00
wiki.go Enable more revive linter rules (#30608) 2024-04-22 11:48:42 +00:00