Forum Discussion
Hi ramaonline ,
Thank you for this valuable information. This is very usefull for me!
I just have one question regarding commiting from snaplogic to github. I found that there is not a public api method form snaplogic that gets the assets from a project and commits it to a branch or repository to github automatically.
Have you had any experience with this. I am now trying to investigate/implement a scheduled pipeline that gets all the assets (account,pipeline .slp file and tasks) from each project from a certain projects space and commits these assets to a certain branch or repository in Github.
So that I don't need to manually go to the Manager tab and click on the project and then on the option 'commit to github'.
What my conclusion for now is is that I get the assets from the public api from snaplogic and try to use also the api of Github to update its contect or upload it to github blobs. https://docs.github.com/en/rest/git/blobs?apiVersion=2022-11-28#create-a-blob
Thank you for your info already this helps me a lot.
Regards
Jens
- ramaonline2 years agoAdmin
I reviewed this internally. We have an enhancement request currently open to support commits for SnapLogic assets using the public API.
- JensDeveloper2 years agoContributor II
- ramaonline2 years agoAdmin
Thanks for the feedback JensDeveloper. I will research this and update here later this week.