summaryrefslogtreecommitdiff
path: root/api/api.json
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2015-09-21 22:49:46 +0200
committerrautenberg <rautenberg@in-silico.ch>2015-09-21 22:49:46 +0200
commite0960502f50fc14b7705feccaaabd739322093ba (patch)
tree3475eb012a2dd3467f75932633b1e5b21ec0731e /api/api.json
parentb2496c9ea40c8a4669a1bbc597545a935a66d435 (diff)
clean API
Diffstat (limited to 'api/api.json')
-rw-r--r--api/api.json76
1 files changed, 1 insertions, 75 deletions
diff --git a/api/api.json b/api/api.json
index bf8ced8..a6730b9 100644
--- a/api/api.json
+++ b/api/api.json
@@ -60,48 +60,6 @@
}
}
},
- "post": {
- "tags": [
- "model"
- ],
- "description": "Create a new model resource",
- "parameters": [
- {
- "name": "Content-Type",
- "in": "header",
- "description": "Content-Type",
- "required": true,
- "type": "string",
- "enum": [
- "text/csv"
- ]
- },
- {
- "$ref": "#/parameters/file"
- }
- ],
- "consumes": [
- "multipart/form-data"
- ],
- "produces": [
- "text/uri-list"
- ],
- "responses": {
- "200": {
- "$ref": "#/responses/200"
- },
- "400": {
- "$ref": "#/responses/400"
- },
- "401": {
- "$ref": "#/responses/401"
- },
- "404": {
- "$ref": "#/responses/404"
- }
- }
- }
- },
"/model/{id}": {
"get": {
"tags": [
@@ -161,7 +119,7 @@
]
},
{
- "name": "compound",
+ "name": "identifier",
"in": "body",
"required": true,
"schema": {
@@ -196,38 +154,6 @@
}
}
},
- "delete": {
- "tags": [
- "model"
- ],
- "description": "Delete a resource",
- "parameters": [
- {
- "$ref": "#/parameters/modelid"
- }
- ],
- "produces": [
- "text/plain"
- ],
- "responses": {
- "200": {
- "$ref": "#/responses/200"
- },
- "400": {
- "$ref": "#/responses/400"
- },
- "401": {
- "$ref": "#/responses/401"
- },
- "403": {
- "$ref": "#/responses/403"
- },
- "404": {
- "$ref": "#/responses/404"
- }
- }
- }
- },
"/api/api.json": {
"get": {
"tags": [