-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
REST API PATCH Repository Configuration within Organisation #13620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The issue here is the API is a little misleading. Basically, because you didn't specify gitea/routers/api/v1/repo/repo.go Lines 684 to 728 in 5a991ec
I think this could be refactored to be easier to work with. I'm going to close this issue and open a new one detailing the problem. |
Thanks for your reply and the solution with the details. I've checked that on try.gitea.io and simply it works. Great. |
[x]
):I have created a repository within an organisation and afterwards I've tried to change the settings of that repository.
This change is being done via REST API. In particular I'm trying to change the entries:

Example from within IDEA IntelliJ:
The answer I got from the request:
So as you can see that the entries:
allow_merge_commits
,allow_rebase
,allow_rebase_explicit
andallow_squash_merge
have not been changed at all.Desription
The question is if I'm doing the change at the correct API endpoint or do I need to use a different one...
The text was updated successfully, but these errors were encountered: