Gets the list of public tags of a given document.
URL:
http://{domain_name}/{rest_context_name}/private/contents/tag/public
Supported Format: XML
Parameters:
Required (path parameters): No
Optional (query parameters):
| Parameter | Description |
|---|---|
| jcrPath | The path of the document, e.g. /portal/collaboration/test/document1, in which "portal" is the repository, "collaboration" is the workspace. |
Request example:
GET: http://localhost:8080/rest/private/contents/tag/public?jcrPath=/portal/collaboration/test/document1
Response:
The tag names in XML format.
{@code
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<tags>
<tag name="gold" />
<tag name="silver" />
</tags>
}