Path: / {BASE} / content

Creates a redirect depending of the stored mimeType for the requested uri.


Resources
NameDescription
{mimetype}Returns remote resource content with the given uri and an accepted return type (mimetype)
{uuid}Creates a redirect depending of the stored mimeType for the requested resource.

Method Summary
ResourceDescription
GET /{BASE}/content?uri=…Creates a redirect depending of the stored mimeType for the requested uri.
DELETE /{BASE}/content?uri=…Delete content of remote resource with given uri

Method Detail
HTTP Example:
GET /{BASE}/content?uri=…

API Example:

ContentWebService.getContentRemote({'uri': /* uri the resource requested */});

Creates a redirect depending of the stored mimeType for the requested uri.

Output:
javax.ws.rs.core.Response - a redirect
Query parameters:
uri - the resource requested
HTTP return codes:
3xx - redirect to the requested content
404 - if the resource has no contetn
500 - Internal Error
HTTP Example:
DELETE /{BASE}/content?uri=…

API Example:

ContentWebService.deleteContentRemote({'uri': /* uri , the fully-qualified URI of the resource to create in the triple store */});

Delete content of remote resource with given uri

Output:
javax.ws.rs.core.Response - HTTP response (success or error)
Query parameters:
uri - , the fully-qualified URI of the resource to create in the triple store
HTTP return codes:
200 - resource content deleted
400 - bad request (e.g, uri is null)
404 - resource or resource content not found