Taxonomy assists in organizing the content within stack into categories, making it easier to navigate, search, and retrieve information. You can perform taxonomy based operations using the following Contentstack Management Taxonomy actions.
Let’s look at each of these in detail.
This action lets you create a new taxonomy in a stack.
Note: The Taxonomy UID must contain only alphanumeric values and underscores.




This action lets you create a new term within a taxonomy.
Note: The Term UID must contain only alphanumeric values and underscores.



This action deletes a taxonomy and all its associated terms from a stack.



This action deletes a term within a taxonomy.
For example, select Test stack, Sample_Taxonomy taxonomy, and Child_Term_Test term.



This action exports a taxonomy and all its associated terms in a stack.



This action fetches the details of all the ancestors of a term.




This action fetches the details of all the descendants of a term.

For example, enter 5 in Term Limit, 1 in Skip Term, and 1 in Term Hierarchy. This will skip the first term and fetch the next 5 terms.
With Term Hierarchy, the first descendant of Guides will be fetched. If you enter Term Hierarchy as 2, then 2 descendants of Guides will be fetched.



This action fetches the details of all the taxonomies in a stack.

For example, select Automate, Demo 1, and Regions in Select Taxonomies. Enter 3 in Taxonomy Limit and 1 in Skip Taxonomy.
In the Search Taxonomy field, enter a UID or name of the taxonomy to search all the taxonomies containing the specified value. For example, enter Auto in Search Taxonomy.
Note: You can select multiple Taxonomies to fetch the details.
Note: If you mark the checkbox for Get deleted taxonomies, the output will only display all the deleted taxonomies in the selected stack.



This action fetches the details of all the terms in a stack.

For example, enter 5 in Term Limit, 1 in Skip Term (Pagination). Enter Repeat Path in Search Term(s). Select What is Repeat Path, Repeat Path Use Case, and What is Conditional Path in the Search Terms field. Enter 2 in Term Hierarchy.
Note: If you mark the checkbox for Get deleted taxonomies, the output will only display all the deleted terms from the selected taxonomy in the selected stack based on the specified Term Hierarchy.



This action fetches the details of all the terms across all the taxonomies in a stack.
For example, enter repeat in Search Term.




This action fetches the details of a single taxonomy in a stack.



This action fetches the details of a single term in a stack.




This action imports a taxonomy, along with all its associated terms in a stack.
Example:
CSV Format:
Taxonomy Name,Taxonomy Uid,Taxonomy Description,Level 1 Term Name,Level 1 Term Uid,Level 2 Term Name,Level 2 Term Uid,Level 3 Term Name,Level 3 Term Uid
Sample Parent Taxonomy,parent_taxonomy,,,,,,,
,,,Sample Child 1,sample_child_1,,,,
,,,,,Sample Grandchild Term 1,sample_grand_child_term_1,,
,,,,,Sample Grandchild Term 2,sample_grand_child_term_2,,
,,,Sample Child 2,sample_child_2,,,,
,,,,,Sample Grandchild Term 3,sample_grand_child_term_3,,
,,,,,,,Sample Great Grandchild Term 1,sample_great_grand_child_term_1
JSON
{"taxonomy":{"uid":"parent_taxonomy","name":"Sample Parent Taxonomy","description":""},"terms":[{"uid":"sample_child_1","name":"Sample Child 1","parent_uid":null},{"uid":"sample_child_2","name":"Sample Child 2","parent_uid":null},{"uid":"sample_grand_child_term_1","name":"Sample Grandchild Term 1","parent_uid":"sample_child_1"},{"uid":"sample_grand_child_term_3","name":"Sample Grandchild Term 3","parent_uid":"sample_child_2"},{"uid":"sample_grand_child_term_2","name":"Sample Grandchild Term 2","parent_uid":"sample_child_1"},{"uid":"sample_great_grand_child_term_1","name":"Sample Great Grandchild Term 1","parent_uid":"sample_grand_child_term_3"}]}

This action lets you update the description and title of a taxonomy.



This action lets you update the title of a term.


