summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrautenberg <rautenberg@in-silico.ch>2015-07-06 18:15:48 +0200
committerrautenberg <rautenberg@in-silico.ch>2015-07-06 18:15:48 +0200
commit9dce0e31d8dae049ec2bbe088c050dd8cc426c77 (patch)
tree558dfed3fe624d5308016c9c40c0b820a9d00e03
parentf57a2f8cb009b41b6c8038393df704b671fbf0e6 (diff)
API: add accept to get /task/iddevelopment
-rw-r--r--api/task.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/api/task.json b/api/task.json
index 6a59994..9fdf59a 100644
--- a/api/task.json
+++ b/api/task.json
@@ -101,6 +101,22 @@
"parameters": [
{
"$ref": "#/parameters/taskid"
+ },
+ {
+ "name": "accept",
+ "in": "header",
+ "description": "Accepted Content Type",
+ "required": false,
+ "type": "string",
+ "default": "text/uri-list",
+ "enum": [
+ "text/uri-list",
+ "text/turtle",
+ "text/plain",
+ "text/html",
+ "application/rdf+xml",
+ "application/sparql-results+xml"
+ ]
}
],
"produces": [