summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2016-09-08 11:49:50 +0200
committerrautenberg <rautenberg@in-silico.ch>2016-09-08 11:49:50 +0200
commit01141de159d7b39209b284df9230127aef09a793 (patch)
tree8da80fcf93003a3f79e7d898abb5de4e97e1b1d4 /api
parent7e052d246daa76b178b1ad6199743f9d16d9ad30 (diff)
add initial reporting on QMRF
Diffstat (limited to 'api')
-rw-r--r--api/api.json89
1 files changed, 89 insertions, 0 deletions
diff --git a/api/api.json b/api/api.json
index abc4a0b..550c547 100644
--- a/api/api.json
+++ b/api/api.json
@@ -143,6 +143,91 @@
}
}
},
+ "/model/report": {
+ "get": {
+ "tags": [
+ "report"
+ ],
+ "description": "Get a list of QMRF reports",
+ "parameters": [
+ {
+ "name": "accept",
+ "in": "header",
+ "description": "requested Content-Type",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "text/uri-list",
+ "application/json"
+ ]
+ }
+ ],
+ "produces": [
+ "text/uri-list",
+ "application/json"
+ ],
+ "responses": {
+ "200": {
+ "$ref": "#/responses/200"
+ },
+ "400": {
+ "$ref": "#/responses/400"
+ },
+ "401": {
+ "$ref": "#/responses/401"
+ },
+ "404": {
+ "$ref": "#/responses/404"
+ },
+ "500": {
+ "$ref": "#/responses/500"
+ }
+ }
+ }
+ },
+ "/model/report/{id}": {
+ "get": {
+ "tags": [
+ "report"
+ ],
+ "description": "Get a QMRF report",
+ "parameters": [
+ {
+ "name": "accept",
+ "in": "header",
+ "description": "requested Content-Type",
+ "required": true,
+ "type": "string",
+ "enum": [
+ "application/xml"
+ ]
+ },
+ {
+ "$ref": "#/parameters/id"
+ }
+ ],
+ "produces": [
+ "application/xml"
+ ],
+ "responses": {
+ "200": {
+ "$ref": "#/responses/200"
+ },
+ "400": {
+ "$ref": "#/responses/400"
+ },
+ "401": {
+ "$ref": "#/responses/401"
+ },
+ "403": {
+ "$ref": "#/responses/403"
+ },
+ "404": {
+ "$ref": "#/responses/404"
+ }
+ }
+ }
+ },
"/dataset": {
"get": {
"tags": [
@@ -1062,6 +1147,10 @@
{
"name": "feature",
"description": "Feature"
+ },
+ {
+ "name": "report",
+ "description": "QMRF Reporting"
}
]
} \ No newline at end of file