summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.de>2009-12-20 19:25:30 +0100
committerChristoph Helma <helma@in-silico.de>2009-12-20 19:25:30 +0100
commitfb758ce73b5ca3a9f75452b971c161556309fae1 (patch)
tree9e8e8baba797d46fa021777b424b9d3ff7e5cc31 /README
parent023a5b4bb9693bd633b4c3b1f757effc7933b731 (diff)
dataset prediction added, OWL-DL (partially) fixed
Diffstat (limited to 'README')
-rw-r--r--README11
1 files changed, 7 insertions, 4 deletions
diff --git a/README b/README
index 4cf5228..710aec5 100644
--- a/README
+++ b/README
@@ -9,8 +9,8 @@ REST operations:
Get a list of all lazar models GET / - List of model URIs 200
Get the representation of a lazar model GET /{id} - Model representation 200,404
-Predict a compound POST /{id} compound_uri, Prediction representation 200,404,500
- type (optional)
+Predict a compound POST /{id} compound_uri Prediction representation 200,404,500
+Predict a dataset POST /{id} dataset_uri Prediction dataset URI 200,404,500
Delete a model DELETE /{id} - - 200,404
Supported MIME formats (http://chemical-mime.sourceforge.net/):
@@ -29,8 +29,11 @@ Get the representation of a lazar model
Predict a compound
curl -X POST -d compound_uri={compound_uri} http://webservices.in-silico.ch/test/model/{id}
-Predict a compound and get the result as YAML (setting the Accept header does not work with Content-Type:application/x-www-form-urlencoded to submit parameters)
- curl -X POST -d compound_uri={compound_uri} -d type=application/x-yaml http://webservices.in-silico.ch/test/model/{id}
+Predict a compound and get the result as YAML
+ curl -X POST -H "Accept:application/x-yaml" -d compound_uri={compound_uri} http://webservices.in-silico.ch/test/model/{id}
+
+Predict a dataset
+ curl -X POST -d dataset_uri={dataset_uri} http://webservices.in-silico.ch/test/model/{id}
Delete a model
curl -X DELETE http://webservices.in-silico.ch/model/{id}