From 9dce0e31d8dae049ec2bbe088c050dd8cc426c77 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Mon, 6 Jul 2015 18:15:48 +0200 Subject: API: add accept to get /task/id --- api/task.json | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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": [ -- cgit v1.2.3