API Reference

Get Tree Roots

Method Name

public/get_tree_roots

Returns the roots of a tree from which full tree can be constructed with public/get_descendant_tree.

Parameters

Response

id string or integer required
result object required
result.roots array of strings required
Roots of tree from which whole tree can be constructed

Example

{request_example_shell}
{request_example_javascript}
{request_example_python}

The above command returns JSON structured like this:

{response_example_json}