gitea/modules/structs
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
..
activity.go
activitypub.go
admin_user.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
attachment.go
cron.go
doc.go
fork.go
git_blob.go Refactor repo contents API and add "contents-ext" API (#34822) 2025-06-25 02:34:21 +00:00
git_hook.go
hook.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_comment.go
issue_label.go
issue_milestone.go
issue_reaction.go
issue_stopwatch.go
issue_test.go
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 Add owner and parent fields clarification to docs (#35023) 2025-07-23 06:44:34 +00:00
lfs_lock.go
mirror.go
miscellaneous.go Refactor render system (#32492) 2024-11-14 05:02:11 +00:00
nodeinfo.go
notifications.go
org_member.go
org_team.go
org.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
package.go Add package version api endpoints (#34173) 2025-04-13 20:00:44 +00:00
pull_review.go
pull.go Decouple diff stats query from actual diffing (#33810) 2025-03-08 17:36:08 +08:00
release.go Support annotated tags when using create release API (#31840) 2025-06-18 05:12:38 +00:00
repo_actions.go Add workflow_run api + webhook (#33964) 2025-06-20 20:14:00 +08:00
repo_branch.go Add ff_only parameter to POST /repos/{owner}/{repo}/merge-upstream (#34770) 2025-06-19 12:29:10 -07:00
repo_collaborator.go
repo_commit.go
repo_compare.go
repo_file.go Support getting last commit message using contents-ext API (#34904) 2025-07-03 09:45:42 +08:00
repo_key.go
repo_note.go
repo_refs.go
repo_tag.go fix: do not return archive download URLs in API if downloads are disabled (#34324) 2025-04-30 10:06:37 -07:00
repo_topic.go
repo_tree.go
repo_watch.go
repo_wiki.go
repo.go Add has_code to repository REST API (#35214) 2025-08-08 18:18:30 +02:00
secret.go Added Description Field for Secrets and Variables (#33526) 2025-03-17 19:24:54 +00:00
settings.go Add API endpoint to request contents of multiple files simultaniously (#34139) 2025-04-22 01:20:11 +08:00
status.go Keeping consistent between UI and API about combined commit status state and fix some bugs (#34562) 2025-06-09 04:05:33 +00:00
task.go
user_app.go feat: return time of last usage for public keys and access tokens in the api (#34323) 2025-05-01 21:42:17 +03:00
user_email.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
user_gpgkey.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
user_key.go Run gopls modernize on codebase (#34751) 2025-06-18 01:48:09 +00:00
user.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
variable.go Added Description Field for Secrets and Variables (#33526) 2025-03-17 19:24:54 +00:00
visible_type.go