Skip to main content

Deprecation warning

Taxonomy in entries is deprecated and may be removed from future releases of Contensis. We strongly recommend using content types and entries to categorise content.

Represents taxonomy nodes in the Delivery API that have been created in Contensis.

Properties

Name Type Format Description
key string   The taxonomy key.
name string   The localized taxonomy name.
path string   The full taxonomy node path.
hasChildren boolean   Whether or not the node has any child nodes.
children TaxonomyNode […]   A list of child taxonomy nodes.

Example

This example shows a taxonomy node object with child taxonomy nodes:

JSON
{
    "key": "0",
    "name": "Root",
    "path": "Root",
    "hasChildren": true,
    "children": [
        {
            "key": "0/1",
            "name": "Movies",
            "path": "Root/Movies",
            "hasChildren": true,
            "children": [
                {
                    "key": "0/1/2",
                    "name": "Genres",
                    "path": "Root/Movies/Genres",
                    "hasChildren": false,
                    "children": []
                }
            ]
        }        
    ]
}

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request