Needed info on Get Organization Appliance Vpn Statuses API

Ashwanth
Here to help

Needed info on Get Organization Appliance Vpn Statuses API

Hi @All 

I have been trying to fetch data from meraki dashboard using API and i want the proper schema definition for the the below mentioned API for my better understanding,

GET  /organizations/{organizationId}/appliance/vpn/statuses

Currently in Meraki developer hub, under schema definition there is no data. 

screenshot attached for the same below,

Ashwanth_0-1711526549048.png

Needed Assistance...

Thanks in advance.

4 Replies 4
alemabrahao
Kind of a big deal
Kind of a big deal

Is auto VPN enabled?

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
sungod
Head in the Cloud

Quite a few endpoints have no schema definition, perhaps as in some cases it would vary depending on the response data/device config.

 

If you look at the 'Example Body' tab, what you see is effectively the definition, you need to work from that.

 

Code defensively...

 

Interpret any element that is an array as potentially containing 0 or more elements .

 

Do this even if you believe it must have at least 1, like the uplinks array for instance, but watch out! If the device was added to a network, but has not connected so far, I'd suspect that uplinks may have 0 elements.

 

Assume that any element that is an empty array may or may not be included in the response, code to handle both possibilities.

 

rhbirkelund
Kind of a big deal

Might want to check out the endpoint specification in the API Index. The endpoint returns an array with an entry for each network, unless specific network IDs are given in the query params.

rhbirkelund_0-1711743670108.png

 

LinkedIn ::: https://blog.rhbirkelund.dk/

Like what you see? - Give a Kudo ## Did it answer your question? - Mark it as a Solution 🙂

All code examples are provided as is. Responsibility for Code execution lies solely your own.
Ashwanth
Here to help

Thanks for all the response, The schema definition was updated by cisco itself i think.

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.