You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Caligari's avatar
Caligari
Explorer | Level 3
2 years ago

API search access to shared folder

Hey there,   I'm working on a small utility using the dropbox API.   So far, I've been able to set up an App and used the files/search_v2 endpoint to locate specific files in the scoped app's...
  • Greg-DB's avatar
    Greg-DB
    2 years ago

    The search endpoints don't support searching within a shared link, but you can use /2/files/list_folder[/continue] to list the contents (and filter client-side as needed) as you mentioned, so I suggest trying that to see if it would be sufficient for your use case.

     

    To do so, you would specify the shared link URL in the 'shared_link.url' field. When doing so, the 'path' field would only be needed if you want to list a relative path for a specific subfolder inside the folder for which you're supplying the shared link.

     

    I suggest trying the API v2 Explorer, as it's helpful for building calls like this.