Forum Discussion

msully's avatar
msully
Explorer | Level 3
4 years ago
Solved

How do I limit the types of objects returned by team/namespaces/list

I have a CDM account and I'm trying to list the team shares with team/namespaces/list - I previously found some examples where you could pass a 'tag'- type object with the query and limit the types of objects that were returned, but I didn't book mark the pages and cant' find them again.  I also don't see any references to this in the documentation.  Did I imagine this? Is there a standard filtering mechanism that I missed?


Thanks,

Mike

  • There isn't a general filtering mechanism that applies to all endpoints like that. You can find all of the options supported by any given endpoint in the documentation for that endpoint, for example, for /2/team/namespaces/list. The /2/team/namespaces/list endpoint doesn't offer a filter option, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

1 Reply

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    4 years ago

    There isn't a general filtering mechanism that applies to all endpoints like that. You can find all of the options supported by any given endpoint in the documentation for that endpoint, for example, for /2/team/namespaces/list. The /2/team/namespaces/list endpoint doesn't offer a filter option, but I'll pass this along as a feature request. I can't promise if or when that might be implemented though.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

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!