Skip to main content
Question

Box CLI - metadata-query

  • November 13, 2024
  • 0 replies
  • 15 views

I’m trying to experiment with the Box CLI as a proof of concept for Metadata querying.  I’ve created a command like the one below and when I hit enter, it just sits there (one’s been going for well over 10 minutes) but no errors. What am I missing?

 

box metadata-query enterprise_###.### <folderID> --query "projectNumber =:projectNumber" --query-params projectNumber=190153 --limit=10

I’ve tried the same query with projectNumber=”190153” and get the same thing

I’ve tried at different folder levels. I can create this same query in Web app and the decoded parameter is

projectNumber","value":{"enum":["190153"]}

 

I’ve verified that my scope and template matches what’s returned in the Web App URL. The metadata field is a text value and I suspect that’s where my problem is. 

Thanks!

0 replies

Be the first to reply!

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings