Ce contenu n'est pas disponible dans la langue sélectionnée.
24.4. Parent Tags
24.4.1. Parent Tags Copier lienLien copié sur presse-papiers!
parent element to a tag to create a hierarchical link to a parent tag. The tags are presented as a flat collection, which descends from the root tag, with tag representations containing a link element to a parent tag
Note
root tag is a special pseudo-tag assumed as the default parent tag if no parent tag is specified. The root tag cannot be deleted nor assigned a parent tag.
Example 24.5. Tag Hierarchy
root (id: -1)
- Finance (id: f436ebfc-67f2-41bd-8ec6-902b6f7dcb5e)
- Billing (id: ac18dabf-23e5-12be-a383-a38b165ca7bd)
root (id: -1)
- Finance (id: f436ebfc-67f2-41bd-8ec6-902b6f7dcb5e)
- Billing (id: ac18dabf-23e5-12be-a383-a38b165ca7bd)
24.4.2. Setting a Parent Tag Copier lienLien copié sur presse-papiers!
POSTing a new tag with a parent element creates an association with a parent tag, using either the id attribute or the name element to reference the parent tag
Example 24.6. Setting an association with a parent tag with the id attribute
Example 24.7. Setting an association with a parent tag with the name element
24.4.3. Changing a Parent Tag Copier lienLien copié sur presse-papiers!
PUT request:
Example 24.8. Changing the parent tag