# How to retrieve and update a subfolder in the FOLDER Structure **Category:** [Platform](https://discourse.openehr.org/c/platform-implem/7) **Created:** 2024-09-11 03:15 UTC **Views:** 51 **Replies:** 0 **URL:** https://discourse.openehr.org/t/how-to-retrieve-and-update-a-subfolder-in-the-folder-structure/5691 --- ## Post #1 by @linforest 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|576x500](upload://lPHkmFLVJPgpphW3swZsLV51DL7.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?u=linforest)": [quote="stefanspiska, post:2, topic:4388"] Since the Directory endpoint always updates the whole structure you simple put it in the Folder structure which represents the directory . [/quote] --- **Canonical:** https://discourse.openehr.org/t/how-to-retrieve-and-update-a-subfolder-in-the-folder-structure/5691 **Original content:** https://discourse.openehr.org/t/how-to-retrieve-and-update-a-subfolder-in-the-folder-structure/5691