1
Development and Code Review / How to retrieve DHCP lease list using API?
« on: July 15, 2021, 08:31:41 am »
Using the API access pattern described at https://docs.opnsense.org/development/api.html, I would like to be able to retrieve the DHCP lease list, i.e. the same data shown at https://<opnsense>/status_dhcp_leases.php. I can successful make other API calls from core and diagnostics modules, for example, so I believe I have my authentication keys setup and being used correctly.
How can I determine the module/controller/command for the DHCP lease information?
Thank you in advance.
How can I determine the module/controller/command for the DHCP lease information?
Thank you in advance.