
Chris Crocco
We are starting to se a lot of common transform script elements in our environment that we need to share and standardize across communication plans. We can do this manually, but a preferred method would be to update the shared libraries programatically so that everyone has the same version of of the script available to them.
Is it poissible to update the shared libraries via the API? If so, can someone share an example of how to do this?
Thanks!
0
Comments
Please sign in to leave a comment.
Hey Chris!
Currently, no. But I could see this being useful and I know we've kicked around the idea of exposing various other assorted APIs for managing comm plans in general.
I'm guessing you would just want to overwrite the entire contents of the shared library, right? As opposed to some kind of merge... that seems like it would get messy.
Happy Tuesday,
--- Travis
Hey Travis,
Thanks for the reply. Yes, I think we would want to overwrite everything in the shared library whenever we do this. The idea being that we can run a playbook that can pull the content of a git repo and post to the shared libraries of comm plans, allowing us to version control the scripts that are being used for integrations.
If we could do something similar for individual integrations, that would allow a lot of flexibility in terms of preserving end points, dynamic responses, etc.