- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Query params are ignored
Hi there,
I'm new to scripting and have trouble filtering API results.
To be more precise, i'm using the Postman 'Meraki Dashboard API' and try to filter the results shown after running 'Return the client's network traffic data over time.'. This query currently returns the following values:
"ts":,
"application":
"destination":
"protocol":
"port":
"recv":
"sent":
"numFlows":
"activeSeconds":
},
i've tried adding different keys and values under 'Query Params' to filter the results. These keys and params seem to be ignored however. What am i missing? Any resources for filtering postman api results for beginners would be much appreciated.
Example:
Solved! Go to solution.
- Labels:
-
Dashboard API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is something the code you write should do, there are no parameters to do this from the API side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not entirely sure what you're trying to do, but there are no filtering functionalities in that call (apart from the MAC-address you specify).
The only thing you can do is limited the number of results returned using the perPage parameter. I tested it out and it seems to work fine here (with perPage set to 5). The startingAfter and endingBefore shouldn't be specified manually but rather use the values as returned by a call. Here's an example, I clicked the headers tab so I could show you the returned "next", "previous" and "last" links:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My guess would be adding the parameter key 'application' and value 'iTunes' would help me do so. Adding these parameters to an API call don't seem to have any effect.
another way i would like to filter is leaving out columns.
Lets say the API call returns the following columns:
"ts":,
"application":
"destination":
"protocol":
"port":
"recv":
"sent":
"numFlows":
"activeSeconds":
},
I would like to only return the columns ''application" and "protocol". Can this be achieved within a tool like postman?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is something the code you write should do, there are no parameters to do this from the API side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
