I'm trying to monitor a specific set of switchports across our network. All of them have the same tag (cameras), but are spread across ~300 switches and ~10,000 switchports. Of those 10,000 ports, I'm only interested in the 85 that match the tag. In the old v0 API, I'm finding plenty of examples that would have worked, and ChatGPT is happy to write me a script that should have solved my problem in about 5 seconds. But it seems that, in the new v1 API, I can only query ports by switch, not by tag, so I'll need to return every switch, then every port, then filter out just the ports I need. Then, querying those ports to get their usage within a time period seems like an additional layer of issues in v1. Is there some mechanism to do this that I should be seeing? If it used to be as simple as "https://api.meraki.com/api/v0/networks/{network_id}/switchPorts/usage?timespan={six_hours_ago_unix}-{now_unix}&tag={tag}", I'm hoping that they gave us a new method when they took the old method away.
... View more