Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

XML API Documentation Errors

Discussion in 'cPanel Developers' started by Glazzito, May 28, 2011.

  1. Glazzito

    Glazzito Member

    Joined:
    Oct 21, 2008
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Portugal
    Hello,

    I've noticed some errors in the API 1/2 documentation.

    For example, we can add Email Accounts using API2 ? I can't but there is addpop in the API2::Email documentation ApiEmail < ApiDocs/Api2 < TWiki

    I can post more examples of this, but you guys need to make a revision on the documentation.
     
  2. cPanelDavidN

    cPanelDavidN Integration Developer

    Joined:
    Dec 17, 2009
    Messages:
    571
    Likes Received:
    3
    Trophy Points:
    68
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Hi Glazzito,

    There is an API2 function for Email::addpop. And the documentation for it is correct for current versions of cPanel.

    Are you running 11.26 or greater?

    I would guess that there's a subtle error in how your constructing/calling your API2 functions. If you can give an example of how you're call API2, I'd more that happy to review it.

    If we find any discrepancies with the API documentation, whether it the API functions (as you suggest) or how queries are constructed (something that has misguided your construction methods), I'll certainly see to it that the documentation is corrected.

    Regards,
    -DavidN
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice