summaryrefslogtreecommitdiff
path: root/api/api.json
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2015-10-15 10:47:22 +0200
committerrautenberg <rautenberg@in-silico.ch>2015-10-15 10:47:22 +0200
commit77dec55b418faa4e20f24e3a65085c0ca2555eed (patch)
treea7945fc229b666cf24ccc514646cf2c1266bbc8d /api/api.json
parent1c0d79491ea3116e7b2d6acedc8796d7d469cdf3 (diff)
API: add single descriptor descripton
Diffstat (limited to 'api/api.json')
-rw-r--r--api/api.json50
1 files changed, 50 insertions, 0 deletions
diff --git a/api/api.json b/api/api.json
index df8716f..98fabf0 100644
--- a/api/api.json
+++ b/api/api.json
@@ -185,6 +185,56 @@
}
}
},
+ "/algorithm/descriptor/{descriptor}": {
+ "get": {
+ "tags": [
+ "algorithm",
+ "descriptor"
+ ],
+ "description": "Get a list of a single or all descriptors",
+ "parameters": [
+ {
+ "name": "accept",
+ "in": "header",
+ "description": "requested Content-Type",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "text/plain",
+ "application/json"
+ ]
+ },
+ {
+ "name": "descriptor",
+ "in": "path",
+ "description": "descriptor",
+ "required": true,
+ "type": "string"
+ }
+ ],
+ "produces": [
+ "text/plain",
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "$ref": "#/responses/200"
+ },
+ "400": {
+ "$ref": "#/responses/400"
+ },
+ "401": {
+ "$ref": "#/responses/401"
+ },
+ "404": {
+ "$ref": "#/responses/404"
+ },
+ "500": {
+ "$ref": "#/responses/500"
+ }
+ }
+ }
+ },
"/api/api.json": {
"get": {
"tags": [