summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorChristoph Helma <ch@in-silico.ch>2009-08-16 00:09:00 +0200
committerChristoph Helma <ch@in-silico.ch>2009-08-16 00:09:00 +0200
commitaf0d1ebb1511ca4da47b4c69db7b6861a8fa3d70 (patch)
treeeb0c744b8d40f43737899a1e5ec4fbf6a3352bc8 /README
parent1fd85f5b8925e8fd8986497e9fab3a49acc64379 (diff)
YAML output instead of XML
Diffstat (limited to 'README')
-rw-r--r--README10
1 files changed, 8 insertions, 2 deletions
diff --git a/README b/README
index 349beb2..4137ad2 100644
--- a/README
+++ b/README
@@ -37,13 +37,19 @@ feature URI {feature_uri}/compounds
Create a new dataset POST / name Dataset URI 200, 500
+Create a new dataset POST / name, file Dataset URI 200, 500
+from a csv file
+
Add a new association to POST /{id} compound_uri, Dataset URI 200, 404, 500
a dataset feature_uri
Delete a dataset DELETE /{id} 200, 404, 500
-Clear the content of a DELETE /{id}/associations 200, 404, 500
-dataset
+EXAMPLE
+
+Create a dataset from a csv file:
+
+ curl -X POST -F name="Hamster carcinogenicity" -F file=@hamster_carcinogenicity.csv http://webservices.in-silico.ch/dataset/v0/
INSTALLATION