Metadata query Search using Node

Hi

I am trying to fetch files and folders in content explorer, using metadata query in node. I am facing below issues:

  1. Getting back all files and folders for a sponsorCode metadata as a response. But only files are getting displayed in content explorer. Folders are not getting displayed.
  2. Also the response is flattened and not structured as folder / subfolders /files.

I have done implementation as below :
Search for Folder using Metadata Query - Box Platform / API - Box Developer Community

Can you pls help solve this?

Hi @ricgau,

Thanks for your question! Our team has answered your questions in this thread, let’s keep the discussion there in case of any additional concerns. Thank you!

Best,
Olga