Python
from gcore import Gcore client = Gcore( api_key="My API Key", ) directories_tree = client.streaming.directories.get_tree() print(directories_tree.tree)
{ "tree": [ { "id": 123, "name": "<string>", "parent_id": 123, "items_count": 123, "created_at": "<string>", "updated_at": "<string>", "descendants": [ {} ] } ] }
Tree structure of directories.
This endpoint returns hierarchical data about directories in video hosting.
Show child attributes
Was this page helpful?