Path: / {BASE} / prefix / {prefix}

Get namespace

Path parameters:
prefix ( [a-z][a-zA-Z0-9\._-]+) - prefix

Method Summary
ResourceDescription
GET /{BASE}/prefix/{prefix}Get namespace
DELETE /{BASE}/prefix/{prefix}Removes a prefix
POST /{BASE}/prefix/{prefix}?uri=…Add new mapping

Method Detail
HTTP Example:
GET /{BASE}/prefix/{prefix}

API Example:

PrefixWebService.getMapping({'prefix': /* prefix prefix */});

Get namespace

Output:
javax.ws.rs.core.Response - Response with the mapping, if exists
Produces:
application/json
HTTP Example:
DELETE /{BASE}/prefix/{prefix}

API Example:

PrefixWebService.deleteMapping({'prefix': /* prefix prefix */});

Removes a prefix

Output:
javax.ws.rs.core.Response - Response with the result of the operation
HTTP Example:
POST /{BASE}/prefix/{prefix}?uri=…

API Example:

PrefixWebService.addMapping({'uri': /* namespace uri */,
  'prefix': /* prefix prefix */});

Add new mapping

Output:
javax.ws.rs.core.Response - operation result
Query parameters:
uri - uri