- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Get Organization Networks by tag
Hi. I'm stuck on a simple tag filter in webapi: i get a bad request with error:
"errors": [ "'tags' must be an array" ]
https://developer.cisco.com/meraki/api-latest/#!get-organization-networks
How can i filter networks with specified tag?
Thank you.
Solved! Go to solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Either it is bugged or the documentation is wrong or I'm dumb but the only way I'm able to pass an ''array'' is by doing so :
/api/v1/organizations/{orgID}/networks?tags[]=TAG1&tags[]=TAG2&tagsFilterType=withAllTags ( or withANYTags )
And it seems to be working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
solved on webabi by adding query params tags[]
still having problems on Postman, it seems to ignore the filter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Either it is bugged or the documentation is wrong or I'm dumb but the only way I'm able to pass an ''array'' is by doing so :
/api/v1/organizations/{orgID}/networks?tags[]=TAG1&tags[]=TAG2&tagsFilterType=withAllTags ( or withANYTags )
And it seems to be working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
works, thank you
