gitea/routers/api/v1/repo
6543 ef613ee760
Add has_code to repository REST API (#35214)
similar to how we can enable/disable repos or issues on a repo add the
code unit as option to it.

affects

```
PATCH /repos/{owner}/{repo}
```

---
*Sponsored by Kithara Software GmbH*
2025-08-08 18:18:30 +02:00
..
action.go Fix Actions API (#35204) 2025-08-04 23:41:30 -04:00
actions_run.go Add owner and parent fields clarification to docs (#35023) 2025-07-23 06:44:34 +00:00
avatar.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
blob.go Refactor repo contents API and add "contents-ext" API (#34822) 2025-06-25 02:34:21 +00:00
branch.go enforce nolint scope (#34851) 2025-06-27 07:59:55 +02:00
collaborators.go Enable gocritic equalFold and fix issues (#34952) 2025-07-06 16:53:34 +00:00
commits.go feat(api): add date range filtering to commit retrieval endpoints (#34497) 2025-05-19 18:57:58 -07:00
compare.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
download.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
file.go Redirect to a presigned URL of HEAD for HEAD requests (#35088) 2025-07-16 11:22:45 +00:00
fork.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
git_hook.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
git_ref.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
hook_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
hook.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_attachment.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_comment_attachment.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_comment.go When updating comment, if the content is the same, just return and not update the databse (#34422) 2025-05-11 18:53:23 +00:00
issue_dependency.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
issue_label.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
issue_lock.go Add API routes to lock and unlock issues (#34165) 2025-04-21 00:43:43 +00:00
issue_pin.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_reaction.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
issue_stopwatch.go fix(issue): Replace stopwatch toggle with explicit start/stop actions (#34818) 2025-06-25 07:22:58 +08:00
issue_subscription.go Add a login/login-name/username disambiguation to affected endpoint parameters and response/request models (#34901) 2025-06-29 21:17:45 -07:00
issue_tracked_time.go Add a login/login-name/username disambiguation to affected endpoint parameters and response/request models (#34901) 2025-06-29 21:17:45 -07:00
issue.go Do not mutate incoming options to SearchRepositoryByName (#34553) 2025-06-02 17:33:25 +00:00
key.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
label.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
language.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
license.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
main_test.go
migrate.go Remove unused param doer (#34545) 2025-06-18 03:12:16 +00:00
milestone.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
mirror.go Enable addtional linters (#34085) 2025-04-01 10:14:01 +00:00
notes.go Improve "not found" error messages for API (#34267) 2025-04-23 17:42:50 +08:00
patch.go Refactor "change file" API (#34855) 2025-06-25 11:25:20 -07:00
pull_review.go Rename pull request GetGitRefName to GetGitHeadRefName (#35093) 2025-07-16 21:33:33 +08:00
pull.go Add owner and parent fields clarification to docs (#35023) 2025-07-23 06:44:34 +00:00
release_attachment.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
release_tags.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
release.go Support annotated tags when using create release API (#31840) 2025-06-18 05:12:38 +00:00
repo_test.go Enable testifylint rules (#34075) 2025-03-31 01:53:48 -04:00
repo.go Add has_code to repository REST API (#35214) 2025-08-08 18:18:30 +02:00
star.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
status.go Split GetLatestCommitStatus as two functions (#34535) 2025-05-26 19:00:22 +00:00
subscriber.go Refactor error system (#33626) 2025-02-17 12:41:03 -08:00
tag.go Improve "not found" error messages for API (#34267) 2025-04-23 17:42:50 +08:00
teams.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
topic.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
transfer.go Fix return bug (#34093) 2025-04-01 17:36:46 -04:00
tree.go Refactor error system (#33610) 2025-02-16 22:13:17 -08:00
wiki.go Refactor repo contents API and add "contents-ext" API (#34822) 2025-06-25 02:34:21 +00:00