-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Need to update github url in remotes using swagger #2973
Comments
Duplicates #2951 |
PUT to endpoint: where Request payload:
|
Hi @eivantsov in request payload: is it ryt?? |
@eivantsov can you please help me with parameters. project path = ? |
@eivantsov |
@worksamp can you share more info on how you execute the request? |
@eivantsov Request type: PUT {"branches":[], "url":"${github-url}", "name":"origin"} |
What is your port in this case? |
wsagent so port no is: 33024 |
@worksamp sorry for the confusion. Two mistakes from me:
And it should be POST method. Let me know if it works for you |
@eivantsov |
@eivantsov |
@eivantsov can you please tell me the endpoint for removing origin? |
@worksamp i got it wrong, since I thought about adding a new remote. As a workaround you may remove an existing origin remote and add a new one with a new URL. DELETE |
Thanks @eivantsov - closing as resolved. |
Hi,
I have eclipse che workspace with java project.
I need to change github url in remotes but using swagger api.
Is there any way to do it?
Thanks and regards,
worksamp
The text was updated successfully, but these errors were encountered: