diff options
author | rautenberg <rautenberg@in-silico.ch> | 2015-10-28 18:31:36 +0100 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2015-10-28 18:31:36 +0100 |
commit | 273a84e20db312e04e81449856e7ed88b59da773 (patch) | |
tree | 36748291c24460a2ea0b726bb97a7ebb3ca9b770 /api | |
parent | 168c09b3bf992346b1179f99bab26cd75ff796e4 (diff) |
API: add route POST /algorithm/descriptor
Diffstat (limited to 'api')
-rw-r--r-- | api/api.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/api/api.json b/api/api.json index e6fb205..9d7e25f 100644 --- a/api/api.json +++ b/api/api.json @@ -189,7 +189,7 @@ "algorithm", "descriptor" ], - "description": "Calculate desriptors for compounds", + "description": "Calculate desriptors for single compound or an array of compounds <br> <strong>curl example:</strong> <pre>curl -Lk -X POST -i -H \"accept:application/json\" -F \"file=@../lazar/test/data/batch_prediction.csv;type=application/csv\" -F \"descriptor=Openbabel.HBA1,Openbabel.HBA2,JoeLib.LogP\" https://mr-test.in-silico.ch/algorithm/descriptor</pre>", "parameters": [ { "name": "accept", @@ -221,7 +221,7 @@ } ], "produces": [ - "text/plain", + "application/csv", "application/json" ], "responses": { |