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!

UAPI list features bug ?

Discussion in 'cPanel Developers' started by syslint, Jan 30, 2017.

Tags:
  1. syslint

    syslint Well-Known Member

    Joined:
    Oct 9, 2006
    Messages:
    262
    Likes Received:
    6
    Trophy Points:
    168
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hi,

    Can some one help me to find a solution for the following task.

    We installed a set of cpanel plugins and all those plugins can be managed via whm feature manager. I am looking for UAPI function call to list all enabled features of a cpanel user from which I can get the enabled plugin informations too. I looked into the following functions,

    UAPI Functions - Features::list_features - Software Development Kit - cPanel Documentation

    It is not listing any features of the cpanel account( is it a bug ?) .
    Code:
    
    [root@cpdev ~]# uapi --user=fun Features list_features
    ---
    apiversion: 3
    func: list_features
    module: Features
    result:
      data:
        api_shell: 0
        modsecurity: 0
        zoneedit: 0
      errors: ~
      messages: ~
      metadata: {}
    
      status: 1
    [root@cpdev ~]#
    

    I am on cpanel 11.62.0.7

    Thanks in advance.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello @syslint,

    I've opened internal case CPANEL-11090 to report this issue. I'll update this thread with more information on the status of this case as it becomes available.

    Thank you.
     
    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