From 273a84e20db312e04e81449856e7ed88b59da773 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Wed, 28 Oct 2015 18:31:36 +0100 Subject: API: add route POST /algorithm/descriptor --- api/api.json | 4 ++-- 1 file 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
curl example:
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
", "parameters": [ { "name": "accept", @@ -221,7 +221,7 @@ } ], "produces": [ - "text/plain", + "application/csv", "application/json" ], "responses": { -- cgit v1.2.3