So I’m setting up FreePBX api endpoints so I can manage parts of my FreePBX installation from a different application. Because of the complexity of the application and how it determines specific things need be I don’t know if I have any alternatives.
I’ve read up on https://wiki.freepbx.org/display/FPG/Core+Module+GraphQL+APIs
And have found it extremely well written and helpful. However I do not see anyway to use the graphQL or Restful api (it really doesn’t matter however I do prefer qql) to do this. I would like to create/update and delete both time-groups and time conditions (not necessarily at the same time). Is there a way to do this with the API? If not is there a way to create a plugin for FreePBX that could interact with time-groups and time conditions to get the same effect.
Still messing around with it to see if I can get it to work as far as putting a time condition in via this api. I can verify that the get route does in fact work and returns an array/list of time conditions.
I’m not a PHP developer, but I am wondering how hard it would be to contribute code so that they api for this would be more full.