API CDP timespan parameter

Solved
mgclark
Here to help

API CDP timespan parameter

GET/networks/{networkId}/devices/{serial}/lldp_cdp

 

So, this API requires the parameter 'timespan'.

 

My question is where does the paramter go in the CURL request? I'm using powershell as that's what I know right now. Python is on the list to learn.

 

1 Accepted Solution
Nash
Kind of a big deal

Add timespan to the end of the endpoint's URL.

 

GET/networks/{networkId}/devices/{serial}/lldp_cdp?timespan=28800

 

or whatever timespan you prefer.

 

If you haven't played with Postman, I'd get it and download the library from postman.meraki.com. It helps with understanding how the query parameters fit together.

View solution in original post

2 Replies 2
Nash
Kind of a big deal

Add timespan to the end of the endpoint's URL.

 

GET/networks/{networkId}/devices/{serial}/lldp_cdp?timespan=28800

 

or whatever timespan you prefer.

 

If you haven't played with Postman, I'd get it and download the library from postman.meraki.com. It helps with understanding how the query parameters fit together.

Of course! Right where it should be... 🙄

 

Thanks Nash!

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.