Alfresco Index of Web Scripts Family '/Tagging'
Alfresco Community v3.2.0 (2039)
5 Web Scripts

Back to Web Scripts Home

Up to family /

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
---
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
Descriptor: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
---
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
Descriptor: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?}
---
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
Descriptor: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
---
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
Descriptor: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
---
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
Descriptor:classpath:alfresco/templates/webscripts/org/alfresco/repository/tagging/tagscope-tags.get.desc.xml