Alfresco Index of Web Scripts Package '/org/alfresco/repository/tagging'
Alfresco Community v3.2.0 (2039)
5 Web Scripts

Back to Web Scripts Home

Up to package /org/alfresco/repository

Get Node Tags
GET /alfresco/service/api/node/{store_type}/{store_id}/{id}/tags
GET /alfresco/service/api/path/{store_type}/{store_id}/{id}/tags
Description:Get all the tags for a node
Returns STATUS_OK (200)
Authentication:user
Transaction:required
Format Style:any
Default Format:json
Lifecycle:draft_public_api
Id:org/alfresco/repository/tagging/node.tags.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/node.tags.get.desc.xml

Add tag
POST /alfresco/service/api/node/{store_type}/{store_id}/{id}/tags
POST /alfresco/service/api/path/{store_type}/{store_id}/{id}/tags
Description:Add one or more tags to the node
Input:
(mandatory) array of String
Returns the array of tags
Return STATUS_OK (200).
Authentication:user
Transaction:required
Format Style:any
Default Format:json
Lifecycle:draft_public_api
Id:org/alfresco/repository/tagging/node.tags.post
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/node.tags.post.desc.xml

List all tags
GET /alfresco/service/api/tags/{store_type}/{store_id}?tf={tag_filter?}
Description:Get the currently available tags for the specified store.
tag_filter
The optional tag filter limits the returned tags to those containing the filter.
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Lifecycle:draft_public_api
Id:org/alfresco/repository/tagging/tags.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/tags.get.desc.xml

Get nodes for tag
GET /alfresco/service/api/tags/{store_type}/{store_id}/{tag}/nodes
Description:Get the nodes which have a given tag
Return content
Array of
  • nodeRef
  • url

Return status: STATUS_OK, 200
Authentication:user
Transaction:required
Format Style:any
Default Format:json
Lifecycle:draft_public_api
Id:org/alfresco/repository/tagging/tags.nodes.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/tags.nodes.get.desc.xml

Tagscope tags
GET /alfresco/service/api/tagscopes/node/{store_type}/{store_id}/{id}/tags
GET /alfresco/service/api/tagscopes/site/{site}/tags
GET /alfresco/service/api/tagscopes/site/{site}/{container}/tags
Description:Get all tags of the nearest available tagscope
Authentication:user
Transaction:required
Format Style:argument
Default Format:json
Lifecycle:draft_public_api
Id:org/alfresco/repository/tagging/tagscope-tags.get
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/tagscope-tags.get.desc.xml