Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

Bulk fetching operations on API - file info

New post

Comments

2 comments

  • aweber

    You didn't provide a ton of details, but you can probably use the Search API to do that.

    0
    Comment actions Permalink
  • Carevsky

    Can you explain how would I search by fileId. So the use-case is: I have a list of fileIds that I got from the event stream and I want to fetch the file info by using this list of fileIds. 
    I tried using the search API, searching by keyword doesn't seem to be possible, since that is reserved for name, description, tag. I tried searching by metadata(mdfilters), by specifying the metadata filter request, which after running for a bit returns: 

    "The API returned an error [InternalServerError | rrn0rrg37yh3087i.0m472jbfivqald4h2t6uv0qc3qd] path_missing - An internal server error occurred."

     

    It doesn't seem obvious what I did wrong from the response. Could you give me some insight as to how this could be done?

    0
    Comment actions Permalink

Please sign in to leave a comment.