-
Notifications
You must be signed in to change notification settings - Fork 462
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
RepositoryFileApi.updateFile PUT's to the wrong endpoint #65
Comments
The same appears to be true of the |
@richardmward Are these not working for you? If not, what is the version of the GitLab server you are going at? |
@richardmward |
I catch this error too. my gitlab version is 8.3.2 and 7.11.4 please help~ |
Support has been added for V3 for create, update, and delete repository file. The latest release (4.4.7) includes these updates. |
@freeroy |
I think that
org.gitlab4j.api.RepositoryFileApi.updateFile
is sending it'sPUT
request to the wrong endpoint. I believe that:should be:
and that
org.gitlab4j.api.RepositoryFileApi.file2form(RepositoryFile, String, String)
should include:The text was updated successfully, but these errors were encountered: