Hi,
I am developing an app based on Stash API, and I noticed that Bitbucket has this feature where you can edit a code or a document online and submit the commit directly to the repo. I want to add that feature in my application so I was wondering if we can do that through the Stash core API, any example will be helpful.
Thanks
Hi Rad,
There is no existing REST API that allows you to do this, but you have a couple of options:
If you take the second approach, you have the advantage of having a portable app that could work with Bitbucket and other hosting services too Hope this helps!
cheers,
Tim
There is https://marketplace.atlassian.com/plugins/com.atlassian.stash.plugin.stash-editor-plugin, but it makes it on a branch, and pull request to merge in the online edit change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Larry,
I was actually not looking for a plugin but how to do this using the API, because my app is not part of stash, I am extracting code via api and display then using Codemirror instance, and I want to be able to commit back to stash on modification. basically same thing as this plugin but I would like to learn the process from the REST API point of view (and if this is possible)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.