# How to retrieve and update a subfolder in the FOLDER Structure

**URL:** <https://discourse.openehr.org/t/how-to-retrieve-and-update-a-subfolder-in-the-folder-structure/5691>\
**Category:** Platform\
**Tags:** tools\
**Created:** [11 September 2024 03:15 UTC](https://discourse.openehr.org/t/how-to-retrieve-and-update-a-subfolder-in-the-folder-structure/5691 "2024-09-11T03:15:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![linforest](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/l/ac8455/32.png) [@linforest](https://discourse.openehr.org/u/linforest)\
**Post date:** [11 September 2024 03:15 UTC](https://discourse.openehr.org/t/how-to-retrieve-and-update-a-subfolder-in-the-folder-structure/5691/1 "2024-09-11T03:15:36Z")

</div>

How to retrieve and update a subfolder in the FOLDER Structure?

Hi, [Giovanni](https://discourse.openehr.org/u/surfer). Specifically, when using the **openEHR Tool** , how to represent the **path to FOLDER**? Now, whatever the path is, the operation would return the whole FOLDER Tree Structure.

Thanks.

 ![image](https://discourse.openehr.org/uploads/default/original/2X/9/9905bac3abdc48e046e2fc7331776fa2fc36bfed.png)

Possible answer in another Topic “[_Add a composition to a folder via openEHR REST API_](https://discourse.openehr.org/t/add-a-composition-to-a-folder-via-openehr-rest-api/4388/2)”:

> [@Add a composition to a folder via openEHR REST API](https://discourse.openehr.org/t/add-a-composition-to-a-folder-via-openehr-rest-api/4388/2):
>
> Since the Directory endpoint always updates the whole structure you simple put it in the Folder structure which represents the directory .
