-
Type:
Improvement
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Time Conditions
-
Labels:None
-
Asterisk Version:16.13.0
-
Distro Version:15.0.16.49
-
Distro:FreePBX Distro
FreePBX 15 added the API module which opens the door to lots of new possibilities. I am interested in adding to the existing functionality for several modules that I frequently use.
To start things off, the timeconditions REST API has a small mistake in the GET/timeconditions/:id route that I corrected.
Secondly I added a POST/timeconditions/create route to allow for the creation of new time conditons via API.
I plan to add Create/Delete/Update functionality to several modules, so this PR is more of a proof of concept to make sure I am approaching the task in a manner that plays nice with the FreePBX environment.