---
title: "Get root tree."
method: GET
path: "/2/vod/channels/{channel}/browse/tree"
tags: ["V3 > Filesystem"]
---

# Get root tree.

`GET /2/vod/channels/{channel}/browse/tree`

Retrieves the tree structure of the root directory for the provided channel.

## Path parameters

- `channel` integer, required

## Response `200`

OK

- object
  - `result` 'success' | 'error' | 'asynchronous', required — Result of the HTTP request
  - `data` 1527df96FileExcerpt
    - `id` string, required — The unique identifier of the File Excerpt
    - `type` string[], required — <note><strong>folder</strong>: Folder model</note><note><strong>file</strong>: File model</note>
    - `name` string — The name of the File Excerpt
    - `streams` string[] — File Excerpt streams (only applies to media)<note><strong>audio</strong>: Media has an audio stream</note><note><strong>video</strong>: Media has a video stream</note>
    - `children` 1527df96FileExcerpt[] — The children of the File Excerpt

---

[API](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools.md) · [All operations](https://skmtc.dev/infomaniak/apis/api-reference-developer-tools/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/infomaniak/api-reference-developer-tools/revisions/667aae28fec6/schema)
