API to modify /library/scripts


is it possible to modify Script Modules via API? Every time I modify Script modules (renaming, removing, adding new functions, etc.), I have to stop CI server first, then modify deploy script, then modify Script Modules and then resume CI.

It would be better to have CI server update those functions for us. Why there is no Script Modules resource in the API? Can we hope it will be added?

Hi Dmitry

Thanks for getting in touch! Script Modules can be modified via the API they are library variable sets with the type of script module.
The documentation is a little lacking. But you should be able to use something like fiddler to grab an example from the client