How to get a hierarchical view of all boards and categories?
Hi all,
I'm new here and I couldn't find an answer by searching so here goes:
For metrics retrieval I want to create a tree object that has all the boards, tkbs etc. Basically, what you would see if you expand all the all the subtrees in a community browser like at dev nation.
Using the REST API it looks like I will have to walk the entire tree, starting from the community info at restapi/vc/ and then for each category getting details on the category so I get the subcategories.
Is this correct? Seems sub-optimal to me.
There is also the restapi/vc/categories/nested call but that just gives you a flat list and the category details do not include their ancestor category id.
Any chance of changing the API so any call to nested includes the ancestor ids as well?
You could use an endpoint to combine the calls you need into a more optimal result for your use-case.
This post has more information about endpoints: