diff options
author | rautenberg <rautenberg@in-silico.ch> | 2015-07-06 18:15:48 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2015-07-06 18:15:48 +0200 |
commit | 9dce0e31d8dae049ec2bbe088c050dd8cc426c77 (patch) | |
tree | 558dfed3fe624d5308016c9c40c0b820a9d00e03 | |
parent | f57a2f8cb009b41b6c8038393df704b671fbf0e6 (diff) |
API: add accept to get /task/iddevelopment
-rw-r--r-- | api/task.json | 16 |
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": [ |