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.

API1 doc?

Discussion in 'cPanel Developers' started by takabanana, May 20, 2009.

  1. takabanana

    takabanana Member

    Joined:
    Mar 4, 2005
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Atlanta, GA
    I see that the API2 is documented/explained here:

    http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/ApiTwo

    Where is something similar for API1?

    Also - it seems only API1 has Email::delforwarder, while only API2 has Email::addforwarder. Is this correct? Just seems odd.

    (Specifically, I'm looking for the API details for Email::delforwarder, which seems to only exist in API1 from what I can search)

    Thanks for any help!
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Some functions are still done in API1 and have not yet been migrated to API2. Complete API1 and API2 documentation is currently being worked on. The API2 documentation currently posted is far from complete.

    In the meantime, the x3 theme is based on API1 and API2 and as such you can find many of these functions by looking at the source code for the x3 theme at /usr/local/cpanel/base/frontend/x3/

    API1 has Email="delforward(...)"

    API2 has Email::addforward(...)
     
Loading...

Share This Page