Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The path to the JSON file that defines the model needs to be defined as the <JSON_PAYLOAD> value. (e.g. create-model.json)

Sample output

 

Code Block
languagetext
{  
   "modelSummary":null,
   "analysisId":2,
   "versionSetId":2,
   "storageType":"file",
   "storageDirectory":"ML_HOME/models",
   "createdTime":null,
   "tenantId":-1234,
   "name":"wso2-ml-logistic-regression-analysis.Model.2015-09-02_17-07-27",
   "id":0,
   "error":null,
   "userName":"admin",
   "status":"Not Started"
}

REST API response

HTTP status code

200

For descriptions of the HTTP status codes, see HTTP Status Codes.