Edit Functions via API

Edit Functions via API

Hello, I am unsure if there is a way to already do this but based on what I have been able to find there is no way to edit a function through any API. I would like to be able to manage my Zoho CRM functions in GitHub but currently I have to manually update my GitHub documents while I am updating the functions within Zoho CRM. I do see API's to run functions but none to get the code or edit the function. I just thought since there are Org API's and User API's could you make an API to edit the code within a function. Thank you!