How to get all nodes of specific level

if tree have 3 levels, how to get all nodes of second level


You can use getSubItems to get child items of a certain node.


The first call of this method for root level will return ids of the 1st-level items. Then you can call this method for each item of the first level to get all 2nd-level items