Difference between revisions of "Relative-Reasoning"
(→GET) |
(→POST) |
||
Line 120: | Line 120: | ||
|/package/<id>/relative-reasoning/<id> | |/package/<id>/relative-reasoning/<id> | ||
|''modelName'' | |''modelName'' | ||
''setAsDefaultName'' | |||
| | | | ||
|Updates the name of the relative-reasoning. The redirect point to the updated relative-reasoning. | |Updates the name of the relative-reasoning. The redirect point to the updated relative-reasoning. Set setAsDefaultName to "setAsDefaultName" to use the new alias as default name. | ||
|303 - See other | |303 - See other | ||
500 - Internal Server Error | 500 - Internal Server Error | ||
|} | |} | ||
== DELETE == | == DELETE == |
Latest revision as of 15:03, 25 January 2016
REST Operations
GET
URI | Parameter | Accept Types | Result | Status Codes |
---|---|---|---|---|
/relative-reasoning | params=true
modelType modelFilter optional parameter "delimiter" for |
text/html
application/json text/plain text/csv |
List of all relative-reasonings of all packages that the user has permission to read.
If params=true is present a list of available params will be returned as json. |
200 - OK
500 - Internal Server Error |
/package/<id>/relative-reasoning | params=true
modelType modelFilter optional parameter "delimiter" for |
text/html
application/json text/plain text/csv |
List of all relative-reasonings of the package given by the URI.
If params=true is present a list of available params will be returned as json. |
200 - OK
401 - Unauthorized 500 - Internal Server Error |
/package/<id>/relative-reasoning/<id> | info=<infotype> (*)
status optional parameter "delimiter" for |
text/html
application/json text/plain text/csv |
The relative-reasoning identified by the URI. | 200 - OK
401 - Unauthorized 404 - Not Found 500 - Internal Server Error |
(*) infotype in { Dataset, Filter, FilteredDataset, Fingerprinter, Model, CrossValidation, Result }
POST
URI | Parameter | Accept Types | Result | Status Codes |
---|---|---|---|---|
/relative-reasoning | modelName
packages param |
Create a new relative-reasoning in the default package. The redirect points to the URI of the new relative-reasoning. | 303 - See Other
500 - Internal Server Error | |
/package/<id>/relative-reasoning | modelName
packages param |
Create a new relative-reasoning in the package given by the URI. The redirect points to the URI of the new relative-reasoning. | 303 - See Other
401 - Unauthorized 500 - Internal Server Error | |
/package/<id>/relative-reasoning/<id> | modelName
setAsDefaultName |
Updates the name of the relative-reasoning. The redirect point to the updated relative-reasoning. Set setAsDefaultName to "setAsDefaultName" to use the new alias as default name. | 303 - See other
500 - Internal Server Error |
DELETE
URI | Parameter | Accept Types | Result | Status Codes |
---|---|---|---|---|
/package/<id>/relative-reasoning/<id> | Delete the relative-reasoning identified by the URI. | 303 - See Other | ||
401 - Unauthorized | ||||
404 - Not Found | ||||
500 - Internal Server Error |
PUT
Not Implemented.