Bridgeline Digital Logo
Menu

TaxonomyBundle

ContentBundles and Taxonomy API requests reference an object of type TaxonomyBundle. The configuration of the bundle will vary depending on the provided inputs. The following properties define this object.

  • tagDefinitionId : Id, The Id of the tag definition of this tag path.
  • languageMapOfPaths : Map<String, String>, The map of tag paths where the key is the language code and the value is the respective path. Eg (‘en_US’ => ‘/Canada/Ontario’). This property is only supported if the taxonomy is published.
  • children : List<TaxonomyBundle>, The list of children from this node. These taxonomy bundles may not have their children populated. I.e. if it’s null then it's the end of the depth, or a leaf node. This is null in a getTaxonomies call.
  • tagId : Id, The Id of the associated content.
  • taxonomyId : Id, The origin Id of the taxonomy.
  • languageMapOfTagNames : Map<String, String>, The map of tag names where the key is the language code and the value is the respective tag name. Eg ('en_US' => 'Ontario')
  • depth : Integer, The zero­-indexed depth level of this node within the taxonomy