summaryrefslogtreecommitdiff
path: root/api/api.json
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2018-05-07 12:40:45 +0200
committergebele <gebele@in-silico.ch>2018-05-07 12:40:45 +0200
commit9f3dbafd5fd8d80eae529354efcef94aec8f7d48 (patch)
tree192e5ac3fac868f7fe5ca5c7a21167883d949ebf /api/api.json
parent3ecd85f1fd7c397d8544be61ba9c3dcc3ff301fe (diff)
parent909b34b31d71671b5e5a660cb78b5f1bc1a88b8b (diff)
Merge branch 'development' of https://github.com/opentox/lazar-rest into developmentdevelopment
Diffstat (limited to 'api/api.json')
-rw-r--r--api/api.json9
1 files changed, 3 insertions, 6 deletions
diff --git a/api/api.json b/api/api.json
index 7777f1e..23dd1cc 100644
--- a/api/api.json
+++ b/api/api.json
@@ -709,7 +709,7 @@
"descriptor"
],
"summary": "Descriptor calculation",
- "description": "Calculate descriptors for a single compound as SMILES string <br> <strong>curl example:</strong> <pre>curl -Lk -X POST -i -H \"Accept:application/json\" -F \"identifier=O=C1NC(=O)NC=C1\" -F \"descriptor=Openbabel.MW,JoeLib.LogP\" https://api.in-silico.ch/compound/descriptor </pre>.",
+ "description": "Calculate descriptors for a single compound as SMILES string <br> <strong>curl example:</strong> <pre>curl -Lk -X POST -i -H \"Accept:application/json\" -F \"identifier=O=C1NC(=O)NC=C1\" -F \"descriptor=Openbabel.MW,Openbabel.atoms\" https://api.in-silico.ch/compound/descriptor </pre>.",
"consumes": [
"multipart/form-data"
],
@@ -724,12 +724,9 @@
{
"name": "descriptor",
"in": "formData",
- "description": "array of descriptors",
+ "description": "list of comma seperated descriptors",
"required": true,
- "type": "array",
- "items": {
- "type": "string"
- }
+ "type": "string"
},
{
"$ref": "#/parameters/subjectid"