POST /contents/tag/add/{tag}

Adds a public tag to a given document.

URL:

http://{domain_name}/{rest_context_name}/private/contents/tag/add/{tag}

Parameters:

  • Required (path parameters):

Parameter Description
tag The tag to be added.
  • 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:

POST: http://localhost:8080/rest/private/contents/tag/add/tag1?jcrPath=/portal/collaboration/test/document1

Response:

HTTP Status code. 200 on success. 500 if any error during the process.

Copyright ©2015. All rights reserved. eXo Platform SAS
blog comments powered byDisqus