summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--api/algorithm.json15
1 files changed, 3 insertions, 12 deletions
diff --git a/api/algorithm.json b/api/algorithm.json
index c0520f0..8cd5eb5 100644
--- a/api/algorithm.json
+++ b/api/algorithm.json
@@ -75,17 +75,7 @@
"$ref": "#/parameters/subjectid"
},
{
- "name": "accept",
- "in": "header",
- "description": "requested Content-type",
- "required": false,
- "type": "string",
- "enum": [
- "text/plain",
- "application/rdf+xml",
- "text/turtle",
- "text/html"
- ]
+ "$ref": "#/parameters/accept_representation"
}
],
"produces": [
@@ -448,7 +438,8 @@
"application/rdf+xml",
"text/turtle",
"text/html"
- ]
+ ],
+ "default": "text/plain"
}
},
"responses": {