GET /{BASE}/export/downloadDownload the triple data contained in the (optional) context (named graph) in the format specified by the Accept
header of the request. If the context parameter is not given, all triples contained in this Apache Marmotta installation will
be written to the response.
- HTTP Example:
GET /{BASE}/export/download?format=…&context=…
Accept: … | - API Example:
ExportWebService.downloadData({'format': , 'context': , 'Accept': }); |
- Output:
- Response - the HTTP response
- Query parameters:
- format - MIME type for return format, overrides accept header
- context - URI of the named graph to export; if null, all named graphs will be exported
- Header parameters:
- Accept - list of MIME types the client accepts
- HTTP return codes:
- 200 - in case the triples were written to the output stream correctly
- 404 - in case the context passed as argument could not be found
- 406 - in case the Apache Marmotta could not find any matching serializer for the MIME types in the Accept header
|