Path: / {BASE} / content / {uuid}

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

Path parameters:
uuid ([^#?]+) - the local resource requested

Method Summary
ResourceDescription
GET /{BASE}/content/{uuid}Creates a redirect depending of the stored mimeType for the requested resource.
DELETE /{BASE}/content/{uuid}Delete content of local resource with given uuid

Method Detail
HTTP Example:
GET /{BASE}/content/{uuid}

API Example:

ContentWebService.getContentLocal({'uuid': /* uuid the local resource requested */});

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

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

API Example:

ContentWebService.deleteContentLocal({'uuid': /* uuid , a unique identifier (must not contain url specific characters like /,# etc.) */});

Delete content of local resource with given uuid

Output:
javax.ws.rs.core.Response - HTTP response (success or error)
HTTP return codes:
200 - resource deleted
404 - resource or resource content not found