Need to see if your shared folder is taking up space on your dropbox đšâđ»? Find out how to check here.
Forum Discussion
evertonmolina
9 years agoExplorer | Level 4
como posso checar se a pasta existe
prezados, gostaria de saber na api v2, como posso fazer para checar se uma pasta ja existe?
evertonmolina
9 years agoExplorer | Level 4
utiliziei o getmetadata, se a pasta existir ok, se nao existir deve-se pegar a aexcção
evertonmolina wrote:prezados, gostaria de saber na api v2, como posso fazer para checar se uma pasta ja existe?
Greg-DB
Dropbox Community Moderator
9 years agoUsar /2/files/get_metadata Ă© a maneira correta de verificar se um item jĂĄ existe. Se assim for, vocĂȘ receberĂĄ os metadados de volta. Se nĂŁo conseguir um erro de `path/not_found`.
---
Desculpe nossas traduçÔes. Nossas traduçÔes foram criadas usando um tradutor online. NĂłs gostarĂamos de suportar todos os idiomas, mas atualmente nĂŁo estamos equipados para fazĂȘ-lo. Aqui estĂĄ a versĂŁo em inglĂȘs:
---
Please excuse our translations. Our translations were created using an online translator. We'd like to support every language, but we're not currently equipped to do so. Here is the English version:
---
Using /2/files/get_metadata is the correct way to check if an item already exists. If it does, you'll get the metadata back. If it doesn't you'll get a `path/not_found` error.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!