Component description
REST operations
Description |
Method |
URI |
Parameters |
Result |
Status codes |
get a list of all available models |
GET |
/model |
- |
list of URIs |
200,404,503 |
get the representation of a model |
GET |
/model/{id} |
- |
xml representation of model |
200,404,503 |
delete a model |
DELETE |
/model/{id} |
- |
- |
200, 404, 503 |
apply a model to a dataset for prediction |
POST |
/model/{id} |
dataset_id |
URI of created feature definition (predictions are features) |
100,400,404,500,503 |
HTTP status codes
Interpretation |
Nr |
Name |
Success |
200 |
OK |
Dataset_id is wrong |
400 |
Bad Request |
Model for specific id not found |
404 |
Not Found |
Prediction error |
500 |
Internal server error |
Service not available |
503 |
service unavailable |
Feature XML representation
See XML schema definition for Model object