How to contribute to rest API

Hello, I have upgraded to FreePBX 15.0.16.73 and I’m experimenting with the API feature.

I would like to develop a rest function to put members to queues. Under

/var/www/html/admin/modules/queues/Api/Rest/Queue.php

I found several get functions that worked. Can anyone tell me how/where I can contribute to developing further rest functions on the queues module please? Thank you!

Current development efforts on the API module are focused on GraphQL. There are no GraphQL features yet in the Queues module, but you can see a coding example by looking in the Do Not Disturb module:

/var/www/html/admin/modules/donotdisturb/Api/Gql
2 Likes

Thank you Lorne :slight_smile: if I make changes in

/var/www/html/admin/modules/queues/Api/Rest/Queues.php

for example, will freePBX overwrite the file at some point?

Yes, that file will be overwritten whenever you update the Queues module.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.