Path: / {BASE} / meta / {mimetype}

Returns remote resource metadata with the given uri and an accepted return type (mimetype)

Path parameters:
mimetype ([^/]+/[^/]+) - , accepted mimetype follows the pattern .+/.+

Resources
NameDescription
{uuid}Returns local resource data with the given uuid and an accepted return type (mimetype)

Method Summary
ResourceDescription
GET /{BASE}/meta/{mimetype}?genid=…&uri=…Returns remote resource metadata with the given uri and an accepted return type (mimetype)
PUT /{BASE}/meta/{mimetype}?uri=…Sets metadata to a given locale resource

Method Detail
HTTP Example:
GET /{BASE}/meta/{mimetype}?genid=…&uri=…

API Example:

MetaWebService.getMetaRemote({'genid': /* Returns remote resource metadata with the given uri and an accepted return type (mimetype) */,
  'uri': /* uri , the fully-qualified URI of the resource to create in the triple store */,
  'mimetype': /* mimetype , accepted mimetype follows the pattern .+/.+ */});

Returns remote resource metadata with the given uri and an accepted return type (mimetype)

Output:
javax.ws.rs.core.Response - a remote resource's metadata (body is the resource data in requested format)
Query parameters:
genid
uri - , the fully-qualified URI of the resource to create in the triple store
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
HTTP Example:
PUT /{BASE}/meta/{mimetype}?uri=…

API Example:

MetaWebService.putMetaRemote({'uri': /* uri , the fully-qualified URI of the resource to create in the triple store */,
  'mimetype': /* mimetype content-type of the body (metadata) follows the pattern .+/.+ */});

Sets metadata to a given locale resource

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 - put was successful
400 - bad request (e.g. uri is null)
404 - resource cannot be found
415 - Content-Type is not supported
500 - Internal Error
HTTP response headers:
Content-Type - (for HTTP 415) a list of available types for metadata