Normalized RESTful API
Open Discussion
The current APIs that cPanel and WHM provide open up a lot of options for developers to integrate their applications. However, the data payloads and responses required by many of the API calls are not consistent with each other.
I would like to propose that a RESTful API be constructed using standard REST paradigms. Additionally, the methods and components of this API should provide normalized responses. For example, the call to create a customer should return the same response as the call to get a customer.
As it is, I have to make several different API calls to populate a somewhat normalized data structure derived from the current API documentation.
Is a REST API for cPanel & WHM something that developers are still interested in?
Some advantages might be:
What other features of REST would you be excited about? What other types of APIs do you have positive experiences using?
Is a REST API for cPanel & WHM something that developers are still interested in?
Some advantages might be:
What other features of REST would you be excited about? What other types of APIs do you have positive experiences using?
A rest api would be great right about now for the app me and my team are working on. It is for web and mobile built with react native. Guess I better get started. graphQL would work nicely to . Then it would only be one endpoint the front-end would have to call.
A rest api would be great right about now for the app me and my team are working on. It is for web and mobile built with react native. Guess I better get started. graphQL would work nicely to . Then it would only be one endpoint the front-end would have to call.
Just to clarify: is the request more for consistency in the APIs, or for REST specifically?
If the latter, why?
Just to clarify: is the request more for consistency in the APIs, or for REST specifically?
If the latter, why?
Replies have been locked on this page!