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 Quote
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 Quote
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 Quote
Michael Posted April 23, 2017 Report Posted April 23, 2017 43 minutes ago, ginner159 said: https://documentation.cpanel.net/display/64Docs/Manage+API+Tokens details can be found there Currently in Release so almost done http://releases.cpanel.com Quote
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 Quote
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 Michael and MDHMatt 2 Quote
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 Quote
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? Quote
Michael Posted April 25, 2017 Report Posted April 25, 2017 27 minutes ago, 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? Here mate: https://documentation.cpanel.net/display/SDK/Guide+to+API+Authentication+-+API+Tokens Quote
Adam Posted April 25, 2017 Report Posted April 25, 2017 3 hours ago, 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? 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 activa, MDHMatt and Michael 3 Quote
activa Posted April 26, 2017 Report Posted April 26, 2017 8 hours ago, 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? THey have only added a new authetification methode. All the old API request is the same. Quote
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 Quote
Adam Posted April 26, 2017 Report Posted April 26, 2017 5 hours ago, ginner159 said: cool ill wait for it to be released before moving up to version 4 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 Quote
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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.