I would like to contribute a patch to add a service definition for the Cloudera Manager API.
Currently, the service definition relies on CM being deployed in its own topology and accessed without the gateway and topology in the request URL (e.g. "/api/v30/..." instead of "/gateway/sandbox/api/v30/..."). This is because we will soon add CM web UI rules to the CM service definition, and limitations in the CM web UI make it impractical for the web UI to deal with additional path components.
Updated: The CM API rewrite rules will not require the above provisions to work.