Tags & Groups
Categorize and organize content objects with tags and groups:
- a
tagis a simple text label. - a
groupis an association implemented as a separate content object that allows defining additional metadata, for example description, an image, etc. - a
unique groupis a group with an additionaltypeattribute. A content object may only belong to a single group of a given type.
Tags, groups and unique groups are stored in a content object. They are indexed by the content fabric and may be used as filter options in the content query API.
Get Tags
Retrieve the tags associated with a content object.
Set Tags
Associate the content object with the given tags. Replaces any existing tags. An empty or `null` request body
Add Tags
Add the given tags. Any existing tags are retained.
Remove Tags
Remove the given tags from the content object. All other tags are retained. To clear all tags, call Set
Get Groups
Retrieve the groups that a content object belongs to.
Set Groups
Associate the content object with the given groups. Replaces any existing group associations. An empty or `null`
Add Groups
Add the content object to the given groups. Any existing group associations are retained.
Remove Groups
Removes the content object from the given groups. All other group associations are retained. To clear all
Get Unique Groups
Retrieve the unique groups that a content object belongs to.
Set Unique Groups
Associate the content object with the given unique groups. Replaces any existing unique group associations. An
Add Unique Groups
Add the content object to the given unique groups. Existing group associations are retained. Adding a new group
Remove Unique Groups
Removes the content object from the given unique groups. All other group associations are retained. To clear all