CML API call to start the AIML job
Hi Team,
Good Day
We have a requirement to start the CDSW AI ML job from the API call. We are currently using Cloudera Machine Learning legacy REST API (Version V1) as per this link:
https://docs.cloudera.com/machine-learning/1.5.4/jobs-pipelines/topics/ml-rest-apis.html
curl -v -XPOST http://cdsw.example.com/api/v1/<path_to_job> --user "<LEGACY_API_KEY>:"
Ex: curl -XPOST https://***/api/v1/projects/bd***/s***/jobs/2/start --user "***" --header "Content-type: application/json" --data "{}"
We are working to upgrade the CDSW to CML and as part of this job rewrite exercise we also thought to use Cloudera Machine Learning REST API v2 (Version V2) for the curl command to Start the Job
In the below URL, We don't see a method to start the job
Please share your expertise on the below open queries :
1) When is V1 getting depreciated? Is it recommended to use V1 API now?
2) Which API method is to be used in the Version 2 API call to start the job?

