Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

API call for "Models" similar to "Jobs"

Highlighted

API call for "Models" similar to "Jobs"

New Contributor

Hi, 

I able to make API call for CDSW "Jobs" suceessfully with reference to 

https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_rest_apis.html

I made API call to CDSW Job from RStudio (installed on my local) and I got the HTTPS status 200.

 

But I unable to trigger the "Models" in CDSW, in the similar manner, neither as guided in "Sample Code", after creating the model in "Models", neither guided in 

https://www.cloudera.com/documentation/data-science-workbench/latest/topics/cdsw_models.html

During this process, I used the "Access Key" & API key also, But No use.

Moreover, I got HTTPS status 400, 402, 404, Which are NOT expected.

So please guide to make the API Call to "Models" as made for "Jobs".