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 SSL::is_autossl_check_in_progress

Discussion in 'cPanel Developers' started by rinkleton, Jun 4, 2018.

Tags:
  1. rinkleton

    rinkleton Well-Known Member

    Joined:
    Jul 16, 2015
    Messages:
    93
    Likes Received:
    3
    Trophy Points:
    8
    Location:
    Cleveland
    cPanel Access Level:
    Root Administrator
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @rinkleton,

    You are correct. The "status" output from this UAPI function will always return "1" if the UAPI function executes successfully. The information you are looking for with this function is found with the "data" result. For example, when autossl_check is running for the user, it will show "data: 1" instead of "data: 0" :

    Code:
    # uapi --user=user123 SSL is_autossl_check_in_progress
    ---
    apiversion: 3
    func: is_autossl_check_in_progress
    module: SSL
    result:
      data: 1
      errors: ~
      messages: ~
      metadata: {} 
      status: 1
      warnings: ~
    I've opened a case with our Documentation Team (DOC-10939) to ensure this document is updated to reflect this information. I'll update this thread once the changes are published.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,802
    Likes Received:
    1,896
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @rinkleton,

    The document is now updated to reflect the noted change.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    rinkleton likes this.
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