GET /{BASE}/meta/{mimetype}Returns remote resource metadata with the given uri and an accepted
return type (mimetype)
- HTTP Example:
GET /{BASE}/meta/{mimetype}?uri=…&genid=… | - API Example:
MetaWebService.getMetaRemote({'uri': , 'genid': , 'mimetype': }); |
- Output:
- Response - a remote resource's metadata (body is the resource data in
requested format)
- Query parameters:
- uri - , the fully-qualified URI of the resource to create in the
triple store
- genid
- HTTP return codes:
- 200 - resource metadata 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) a list of available metadata
types
|