forgejo/routers/api/v1/repo
Gergely Nagy df8e58c5cb
Allow changing global wiki editability via the API
The global wiki editability can be set via the web UI, this patch makes
it possible to set the same thing via the API too. This is accomplished
by adjusting the GET and PATCH handlers of the
`/api/v1/repos/{owner}/{repo}` route.

The first will include the property when checking the repo's settings,
the second allows a repo admin to change the setting too.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-04-16 22:51:36 +02:00
..
action.go Add API for Variables (#29520) 2024-04-07 10:57:53 +02:00
avatar.go
blob.go
branch.go
collaborators.go
commits.go
file.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
flags.go
fork.go
git_hook.go
git_ref.go
hook.go
hook_test.go
issue.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_attachment.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_comment.go Do some performance optimize for issues list and view issue/pull (gitea#29515) 2024-04-08 14:47:31 +02:00
issue_comment_attachment.go
issue_dependency.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_label.go
issue_pin.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
issue_reaction.go
issue_stopwatch.go
issue_subscription.go
issue_tracked_time.go Fix missed doer (#30231) 2024-04-15 20:01:35 +02:00
key.go
label.go
language.go
main_test.go
migrate.go
milestone.go
mirror.go
notes.go
patch.go
pull.go
pull_review.go
release.go Fix release published actions not triggering for releases created from existing tags 2024-04-15 22:53:53 +02:00
release_attachment.go
release_tags.go
repo.go Allow changing global wiki editability via the API 2024-04-16 22:51:36 +02:00
repo_test.go
runners.go
star.go
status.go
subscriber.go
tag.go Count downloads for tag archives 2024-04-08 12:51:27 +02:00
teams.go
topic.go
transfer.go
tree.go
wiki.go