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

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

Path parameters:
uuid ([^#?]+) - , a unique identifier (must not contain url specific characters like /,# etc.)
mimetype ([^/]+/[^/]+) - , accepted mimetype follows the pattern .+/.+

Resource Methods
Method Summary
NameDescription
GET /{BASE}/meta/{mimetype}/{uuid}Returns local resource data with the given uuid and an accepted return type (mimetype)
PUT /{BASE}/meta/{mimetype}/{uuid}Sets metadata to a given locale resource

Method Detail

GET /{BASE}/meta/{mimetype}/{uuid}

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

HTTP Example:
GET /{BASE}/meta/{mimetype}/{uuid}
API Example:

MetaWebService.getMetaLocal({'uuid': /* uuid , a unique identifier (must not contain url specific characters like /,# etc.) */,
  'mimetype': /* mimetype , accepted mimetype follows the pattern .+/.+ */});

Output:
Response - a local resource's metadata (body is the resource data in requested format)
HTTP return codes:
200 - resource data found and returned
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}/{uuid}

Sets metadata to a given locale resource

HTTP Example:
PUT /{BASE}/meta/{mimetype}/{uuid}
API Example:

MetaWebService.putMetaLocal({'uuid': /* uuid , a unique identifier (must not contain url specific characters like /,# etc.) */,
  'mimetype': /* mimetype content-type of the body (metadata) follows the pattern .+/.+ */});

Output:
Response - HTTP response (success or error)
HTTP return codes:
200 - put was successful
400 - bad request (e.g. body is empty)
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