GET /{BASE}/content/{mimetype}Returns remote resource content with the given uri and an accepted return
type (mimetype)
- HTTP Example:
GET /{BASE}/content/{mimetype}?uri=…
Range: … | - API Example:
ContentWebService.getContentRemote({'uri': , 'mimetype': , 'Range': }); |
- Output:
- Response - a remote resource's content (body is the resource content in
requested format)
- Query parameters:
- uri - , the fully-qualified URI of the resource to create in the
triple store
- Header parameters:
- Range
- HTTP return codes:
- 200 - resource content found and returned
- 400 - bad request (maybe uri is not defined)
- 404 - resource cannot be found
- 406 - resource cannot be found in the given format
- 500 - Internal Error
- HTTP response headers:
- Content-Type - (for HTTP 406) available content type (if
resource has content)
|