Path: / {BASE} / content

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


Sub-Resources
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.

Resource Methods
Method Summary
NameDescription
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

GET /{BASE}/content

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

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

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

Output:
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

DELETE /{BASE}/content

Delete content of remote resource with given uri

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 */});

Output:
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