Skip to main content
Browse Documentation
HTTP - Delivery

Taxonomy

Created by Contensis product team, last updated 09 Jul 2020

Represents taxonomy nodes that have been created in Contensis.

Properties

NameData typeDescriptionExample
keystringThe taxonomy key0/1
namestringThe localized taxonomy name
pathstringThe full taxonomy node pathRoot/Movies/Genres
hasChildrenbooleanWhether or not the node has any child nodes
childrenobject[...]A list of child taxonomy nodes

Example

This example shows a taxonomy node object with child taxonomy nodes

{
    "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": []
                }
            ]
        }        
    ]
}