Path: / {BASE} / export / download

Download 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.


Resource Methods
Method Summary
NameDescription
GET /{BASE}/export/download?format=…&context=…Download the triple data contained in the (optional) context (named graph) in the format specified by the Accept header of the request.

Method Detail

GET /{BASE}/export/download

Download 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': /* qFormat MIME type for return format, overrides accept header */,
  'context': /* context_string URI of the named graph to export; if null, all named graphs will be exported */,
  'Accept': /* types list of MIME types the client accepts */});

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