The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Create WHM Api module

Discussion in 'cPanel Developers' started by JayB, Jul 3, 2016.

  1. JayB

    JayB Registered

    Joined:
    Jul 3, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Latvia
    cPanel Access Level:
    Root Administrator
    is it possible to create new whm api module for custom api functions? I found documentation for creating new cpanel modules, but not for whm.
     
  2. cPDavidN

    cPDavidN cPanel Developer
    Staff Member

    Joined:
    Mar 19, 2013
    Messages:
    42
    Likes Received:
    3
    Trophy Points:
    8
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Thanks for contacting us. The call dispatch for WHM's APIs is static, so it's not possible to add API calls to WHM. Logic that would have gone into an API call has to be put into the CGI script invoked by your plugin. Sorry for any inconvenience.

    David Nielson
    cPanel Deveoper
     
Loading...

Share This Page