{"id":3629,"date":"2020-08-29T03:11:12","date_gmt":"2020-08-29T03:11:12","guid":{"rendered":"https:\/\/devel.www.cpanel.net\/?page_id=3629"},"modified":"2020-08-29T04:13:00","modified_gmt":"2020-08-29T04:13:00","slug":"api-1-removal","status":"publish","type":"page","link":"https:\/\/devel.www.cpanel.net\/up-next\/api-1-removal\/","title":{"rendered":"cPanel API 1 Removal and Replacement with UAPI"},"content":{"rendered":"\n
The cPanel API 1 functions \nare being replaced with UAPI equivalents, and you should update your \ncustom integrations to use the new UAPI functions.<\/p>\n\n\n\n
cPanel & WHM is consolidating old and outdated APIs \ninto one system to simplify the process of integrations. We are porting \ncPanel API 1 functions to UAPI, which will have improved functionality. <\/p>\n\n\n\n
cPanel\u2019s API 1 is being removed and custom integrations using \nit will no longer work after Version 86. This will affect any custom \ncode that relies on the old API 1 calls, which could \ninclude integrations, plugins, tools, or products which will break if \nthey are not updated to UAPI. <\/p>\n\n\n\n
Server owners should resolve any dependencies on cPanel API 1 before upgrading to Version 88.<\/p>\n\n\n\n
The cPanel API 1 system is outdated and inconsistent function to function, so we\u2019ve steadily been adding its functionality to UAPI<\/a>, and\n continuing work on uniting our APIs into one system. This not only \nsimplifies the process of integration but also provides improved \nfunctionality moving forward. UAPI has additional features to help \nmanage data returned from API requests.<\/p>\n\n\n\n Update your custom integrations to use UAPI or cPanel API 2 if a UAPI equivalent is not available. <\/p>\n\n\n\n If you rely on\u00a0plugins that use cPanel API 1, you should contact the maintainers\u00a0to ensure\u00a0that the plugins\u00a0are updated to use UAPI so that they will be compatible after\u00a0Version 86.<\/p>\n\n\n\n Since Version 86 is the new long term support tier, you can also switch your release tier to LTS which will allow you to stay on Version 86 for a longer period of time.<\/p>\n\n\n\n We have added functionality in Version 86 that will detect usage of \nAPI 1 calls and log them on the server. The system administrator will be\n notified that these calls are present as they occur on the server, and \ntherefore will know what needs to be updated.\n\n\n\nIf it isn\u2019t practical to receive notifications because of the amount of your servers you manage, we have added two new WHM API 1<\/a> calls, With the release of Version 88, we will start removing cPanel API 1 functionality, and any custom code or integrations using these calls will no longer work. The cPanel API 1 functions are being replaced with UAPI equivalents, and you should update your custom integrations to use the new UAPI functions. Why cPanel & WHM is consolidating […]<\/p>\n","protected":false},"author":9,"featured_media":0,"parent":2617,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/page-upnext-api1.php","meta":{"inline_featured_image":false,"footnotes":""},"class_list":["post-3629","page","type-page","status-publish","hentry"],"acf":[],"yoast_head":"\n What can you do?<\/h3>\n\n\n\n
Anything else I should know?<\/h3>\n\n\n\n
get_api_calls<\/code><\/a> and
get_api_pages<\/code><\/a>, that can be integrated into your server management software to monitor cPanel API 1 usage across your fleet.\n\n\n\n<\/p>\n","protected":false},"excerpt":{"rendered":"