OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of wsimpson »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - wsimpson

Pages: [1]
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.

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2