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 .+/.+

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

Resource Methods
Method Summary
NameDescription
GET /{BASE}/meta/{mimetype}?uri=…&genid=…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

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': /* uri , the fully-qualified URI of the resource to create in the triple store */,
  'genid': /* Returns remote resource metadata with the given uri and an accepted return type (mimetype) */,
  'mimetype': /* mimetype , accepted mimetype follows the pattern .+/.+ */});

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

PUT /{BASE}/meta/{mimetype}

Sets metadata to a given locale resource

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

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