MDHMatt Posted April 23, 2017 Report Posted April 23, 2017 Just wondering if the cpanel module has been or will be updated for the new version of the api? from what I read they are getting rid of the secret key like we have now and implementing a new way to do it. (Link to be added a soon as off mobile) Michael 1
Michael Posted April 23, 2017 Report Posted April 23, 2017 I believe Paul is going to be looking into this soon as it's not out yet it's still in the early stages
MDHMatt Posted April 23, 2017 Author Report Posted April 23, 2017 https://documentation.cpanel.net/display/64Docs/Manage+API+Tokens details can be found there Michael 1
Michael Posted April 23, 2017 Report Posted April 23, 2017 On 4/23/2017 at 3:09 PM, ginner159 said: https://documentation.cpanel.net/display/64Docs/Manage+API+Tokens details can be found there Expand Currently in Release so almost done http://releases.cpanel.com
activa Posted April 24, 2017 Report Posted April 24, 2017 This request was posted some days ago in blesta feature website by @Blesta Addonsso it need only our votes
Blesta Addons Posted April 24, 2017 Report Posted April 24, 2017 i have made a request in blesta requests last week for the same feature it's waiting your votes MDHMatt and Michael 2
Michael Posted April 24, 2017 Report Posted April 24, 2017 +1 this guys: http://requests.blesta.com/topic/update-cpanel-module-to-use-the-new-token-api
Paul Posted April 25, 2017 Report Posted April 25, 2017 I spent some time trying to find the right API docs for this, but I might not be smart enough. A link to the API docs? Is it just "WHM API 1"? Do you know if they have released a PHP API Library for this version of the API? If so, where is it?
Michael Posted April 25, 2017 Report Posted April 25, 2017 On 4/25/2017 at 5:53 PM, Paul said: I spent some time trying to find the right API docs for this, but I might not be smart enough. A link to the API docs? Is it just "WHM API 1"? Do you know if they have released a PHP API Library for this version of the API? If so, where is it? Expand Here mate: https://documentation.cpanel.net/display/SDK/Guide+to+API+Authentication+-+API+Tokens
Adam Posted April 25, 2017 Report Posted April 25, 2017 On 4/25/2017 at 5:53 PM, Paul said: I spent some time trying to find the right API docs for this, but I might not be smart enough. A link to the API docs? Is it just "WHM API 1"? Do you know if they have released a PHP API Library for this version of the API? If so, where is it? Expand Yes, WHM API 1 (not 0). cPanel has a few SDKs. Their official one is only for XML responses https://github.com/CpanelInc/publicapi-php But they also support JSON. All API functions support XML and JSON. If you look at their confluence page for all SDKs, they provide sample Perl and JSON code. Example:https://documentation.cpanel.net/display/SDK/Guide+to+API+Authentication+-+API+Tokens Here a list of 3rd party cPanel libraries. PHP is included. https://documentation.cpanel.net/display/SDK/Quickstart+Development+Guide+-+Libraries -Adam MDHMatt, Michael and activa 3
activa Posted April 26, 2017 Report Posted April 26, 2017 On 4/25/2017 at 5:53 PM, Paul said: I spent some time trying to find the right API docs for this, but I might not be smart enough. A link to the API docs? Is it just "WHM API 1"? Do you know if they have released a PHP API Library for this version of the API? If so, where is it? Expand THey have only added a new authetification methode. All the old API request is the same.
MDHMatt Posted April 26, 2017 Author Report Posted April 26, 2017 cool ill wait for it to be released before moving up to version 4
Adam Posted April 26, 2017 Report Posted April 26, 2017 On 4/26/2017 at 8:24 AM, ginner159 said: cool ill wait for it to be released before moving up to version 4 Expand cPanel is not removing the old WHM authentication anytime soon. It will be years, and I mean years, before cPanel fully deprecates the old style key based authentication in favor for the ReST one. This should not be the only reason holding you back on upgrading. activa and Blesta Addons 2
MDHMatt Posted April 26, 2017 Author Report Posted April 26, 2017 yeah i know just be nice to have the option to use it as ive already switched with my servers and nah its not the only reason, need to test it before i update and move my install to own folder integrate v4 into my site etc etc
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now