Closed jsonkenyon closed 1 month ago
The new branch has been updated to utilize the cloudAPI URI. However, there is an issue: the cloudAPI lacks a basic user password change feature. As a result, V2 is pending review to determine how to implement password updates via the API.
Summary of CloudAPI Usage Challenges
The primary obstacle to utilizing the CloudAPI is the absence of documentation regarding the suspension and unsuspension of websites within CyberPanel, as noted in the CloudAPI Documentation.
However, it appears that a relevant function exists in the views.py file of the CyberPanel source code.
Given this context, it is feasible to upgrade the server manager to fully support the CloudAPI. To my recollection, this lack of documentation was the only impediment to its implementation. While the existing
/api
functionality remains operational, its longevity is uncertain.Moving forward, we might consider updating to the CloudAPI as part of a v2 release for the server manager. In parallel, we could maintain a separate branch for the existing
/api
, designating it as v1.