summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2016-10-04 16:16:14 +0200
committerrautenberg <rautenberg@in-silico.ch>2016-10-04 16:16:14 +0200
commit469611e84df681debf22e9ec6e768c9ee47404b7 (patch)
tree8305623818066b5fcb7f45281a73d51b7f6dd66e
parent9da1b6d5ea9b0c15640ed7e00849ea28666fa4ef (diff)
add subjectid for active A&A
-rw-r--r--api/api.json54
1 files changed, 53 insertions, 1 deletions
diff --git a/api/api.json b/api/api.json
index 9717a7e..b329bae 100644
--- a/api/api.json
+++ b/api/api.json
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
- "description": "REST Webservice for lazar and nano-lazar\n",
+ "description": "REST API webservice for lazar and nano-lazar. \n*lazar* (lazy structure–activity relationships) is a modular framework for predictive toxicology. With activeted Authentication & Authorization, subjectid authorization token are obligatory for designated services.\n",
"version": "0.0.3",
"title": "Lazar & Nano-Lazar REST Service",
"contact": {
@@ -37,6 +37,9 @@
"text/uri-list",
"application/json"
]
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -81,6 +84,9 @@
},
{
"$ref": "#/parameters/id"
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -119,6 +125,9 @@
},
{
"$ref": "#/parameters/id"
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -160,6 +169,9 @@
"text/uri-list",
"application/json"
]
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -204,6 +216,9 @@
},
{
"$ref": "#/parameters/id"
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -245,6 +260,9 @@
"text/uri-list",
"application/json"
]
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -290,6 +308,9 @@
},
{
"$ref": "#/parameters/id"
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -347,6 +368,9 @@
},
{
"$ref": "#/parameters/id"
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -388,6 +412,9 @@
"text/uri-list",
"application/json"
]
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -432,6 +459,9 @@
},
{
"$ref": "#/parameters/id"
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -473,6 +503,9 @@
"text/uri-list",
"application/json"
]
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -517,6 +550,9 @@
},
{
"$ref": "#/parameters/id"
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -688,6 +724,9 @@
},
{
"$ref": "#/parameters/valtype"
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -735,6 +774,9 @@
},
{
"$ref": "#/parameters/id"
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -836,6 +878,9 @@
"items": {
"type": "string"
}
+ },
+ {
+ "$ref": "#/parameters/subjectid"
}
],
"produces": [
@@ -1081,6 +1126,13 @@
"description": "validation type",
"required": true,
"type": "string"
+ },
+ "subjectid": {
+ "in": "header",
+ "name": "subjectid",
+ "description": "authorization token",
+ "required": false,
+ "type": "string"
}
},
"responses": {