Community Forums
Connect with us on LinkedIn
  
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2005
    Location
    Atlanta, GA
    Posts
    8

    Unhappy API1 doc?

    I see that the API2 is documented/explained here:

    http://docs.cpanel.net/twiki/bin/vie...gration/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. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by takabanana View Post
    I see that the API2 is documented/explained here:

    http://docs.cpanel.net/twiki/bin/vie...gration/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!
    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(...)

Similar Threads & Tags
Similar threads

  1. Delete Files/Dirs - API1 and/or API2
    By adelin.feraru in forum cPanel Developers
    Replies: 2
    Last Post: 11-17-2010, 11:00 AM
  2. addforward aPI1 bad args in documentation
    By jcorreia in forum cPanel Developers
    Replies: 2
    Last Post: 03-02-2010, 04:26 AM
  3. XML-API issues with API1 and API2 commands
    By XenomediaBV in forum cPanel Developers
    Replies: 7
    Last Post: 09-14-2009, 11:34 AM
  4. List of all available API1 and API2 modules
    By ck in forum cPanel Developers
    Replies: 1
    Last Post: 04-27-2009, 10:43 AM
  5. Use API1 and API2
    By rongup in forum cPanel and WHM Discussions
    Replies: 38
    Last Post: 02-04-2009, 10:16 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube