summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2016-10-31 14:46:52 +0100
committerrautenberg <rautenberg@in-silico.ch>2016-10-31 14:46:52 +0100
commit160285737a8806c0ec3d08a18b0da000400733c8 (patch)
tree1bb3a791e663860f8f797f1f8761c75117198498
parent83c78f0cc0fefb8018ce2ac6266749563847c124 (diff)
refine API calls
-rw-r--r--api/api.json59
1 files changed, 1 insertions, 58 deletions
diff --git a/api/api.json b/api/api.json
index ff0b4d3..4479992 100644
--- a/api/api.json
+++ b/api/api.json
@@ -119,64 +119,7 @@
{
"name": "identifier",
"in": "formData",
- "description": "SMILES identifier or comma seperated list of SMILES identifiers",
- "required": true,
- "type": "string"
- },
- {
- "$ref": "#/parameters/id"
- },
- {
- "$ref": "#/parameters/subjectid"
- }
- ],
- "produces": [
- "application/json"
- ],
- "responses": {
- "200": {
- "$ref": "#/responses/200"
- },
- "400": {
- "$ref": "#/responses/400"
- },
- "401": {
- "$ref": "#/responses/401"
- },
- "403": {
- "$ref": "#/responses/403"
- },
- "404": {
- "$ref": "#/responses/404"
- }
- }
- }
- },
- "/model/{id}/nanoparticle": {
- "post": {
- "tags": [
- "model"
- ],
- "description": "Predict a nanoparticle. POST core and coating URIs with physchem descriptor URI and values to a model URI.\n* core URI e.g. core=HOST_URL/compound/ID\n* coating URI e.g. core=HOST_URL/compound/ID\n* physchem descriptors - e.G. physchem['HOST_URL/descriptor/UUID']=8.72",
- "parameters": [
- {
- "name": "core",
- "in": "formData",
- "description": "core",
- "required": true,
- "type": "string"
- },
- {
- "name": "coating",
- "in": "formData",
- "description": "coating",
- "required": true,
- "type": "string"
- },
- {
- "name": "physchem",
- "in": "formData",
- "description": "physchem descriptors",
+ "description": "SMILES identifier or Nanoparticle URI or comma seperated list of SMILES identifiers or Nanoparticle URI",
"required": true,
"type": "string"
},