Difference between revisions of "Relative-Reasoning"

From enviPath Wiki
Jump to navigation Jump to search
m (Guetlein moved page Model to Relative-Reasoning)
Line 17: Line 17:


modelFilter
modelFilter
''optional parameter "delimiter" for<br />
text/csv only, default value: ","''
|''text/html''
|''text/html''


Line 22: Line 25:


''text/plain''
''text/plain''
''text/csv''
|List of all relative-reasonings of all packages that the user has permission to read.
|List of all relative-reasonings of all packages that the user has permission to read.


Line 34: Line 39:


modelFilter
modelFilter
''optional parameter "delimiter" for<br />
text/csv only, default value: ","''
|''text/html''
|''text/html''


Line 39: Line 47:


''text/plain''
''text/plain''
''text/csv''
|List of all relative-reasonings of the package given by the URI.
|List of all relative-reasonings of the package given by the URI.


Line 51: Line 61:
|info=<infotype> '''(*)'''
|info=<infotype> '''(*)'''
status
status
''optional parameter "delimiter" for<br />
text/csv only, default value: ","''
|''text/html''
|''text/html''


Line 57: Line 70:
''text/plain''
''text/plain''


''text/csv''
|The relative-reasoning identified by the URI.
|The relative-reasoning identified by the URI.
|200 - OK
|200 - OK

Revision as of 12:47, 18 January 2016

REST Operations

GET

URI Parameter Accept Types Result Status Codes
/relative-reasoning params=true

modelType

modelFilter

optional parameter "delimiter" for
text/csv only, default value: ","

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/csv only, default value: ","

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/csv only, default value: ","

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 Updates the name of the relative-reasoning. The redirect point to the updated relative-reasoning. 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.