Deployment and configuration steps with CM RestAPI not clear
I try to deploy and configure a CDP cluster over the CM RestAPI. However, I'm running into different problems around this. Starting with where to find values, e.g. /clusters/{clusterName}/parcels/products/{product}/versions/{version} where to find {product} and {version} for that.
Or for
curl -X POST -u admin:admin -i -H "Content-Type: application/json" -d '{ "items" : [ { "ipAddress" : "{ipAddress1}", "hostname" : "{hostname1}" }, { "ipAddress" : "{ipAddress2}", "hostname" : "{hostname2}" } ] }' http://{cmIpAddress}:7180/api/v54/clusters/{clusterName}/hosts
it returns following error although the Rest API documentation claims, that ipAddress is a required attribute
HTTP/1.1 400 Bad Request
[...]
{
"message" : "Unrecognized property: 'ipAddress'"
}
If I use the API Documentation on the CM it also does not fill out the information automatically, which would have been really helpful.
So my question: could you provide the steps how to deploy and configure a CDP cluster with the CM Rest API that maps to the steps on the CM UI from the point the CM is installed (so starting with providing the license) up to an up and running cluster?
CM version is 7.11.3.7 and CDH is 7.1.9.9. REST API version is v54 based on the internal API documentation of the CM.

