# \TreeApi

All URIs are relative to *https://registry.example.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**browse_tree**](TreeApi.md#browse_tree) | **GET** /api/v1/tree/{path} | Browse the storage tree
[**get_repository_tree**](TreeApi.md#get_repository_tree) | **GET** /api/v1/repositories/{repository_key}/tree | Get repository file tree



## browse_tree

> Vec<models::TreeNode> browse_tree(path)
Browse the storage tree

Returns directory and file entries at the specified path in the virtual storage tree.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**path** | **String** | Catch-all path representing the storage tree location. | [required] |

### Return type

[**Vec<models::TreeNode>**](TreeNode.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)


## get_repository_tree

> models::TreeNode get_repository_tree(repository_key, path, depth)
Get repository file tree

Returns a hierarchical file tree for the specified repository with optional path scoping and depth limiting.

### Parameters


Name | Type | Description  | Required | Notes
------------- | ------------- | ------------- | ------------- | -------------
**repository_key** | **String** | Repository key | [required] |
**path** | Option<**String**> | Subtree path to start from. Defaults to the repository root. |  |
**depth** | Option<**i32**> | Maximum depth of the tree to return. |  |

### Return type

[**models::TreeNode**](TreeNode.md)

### Authorization

[apiKeyAuth](../README.md#apiKeyAuth), [bearerAuth](../README.md#bearerAuth)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: application/json

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

