cancel
Showing results for 
Search instead for 
Did you mean: 

Dashboard APIs

SOLVED
Getting noticed

Dashboard APIs

Are there any Dashboard APIs that give you the subnet mask of the uplink interfaces?

1 ACCEPTED SOLUTION

Accepted Solutions
Getting noticed

Re: Dashboard APIs

Thank the info Gentleman! Much appreciated.

3 REPLIES 3
Kind of a big deal

Re: Dashboard APIs

Wow, it looks like this information is missing!

Head in the Cloud

Re: Dashboard APIs

As Phillip has stated, the API call does not appear to return the subnet mask information for an up-link. 

 

My recommendation would be to submit a wish via dashboard and also post the wish in this thread - https://community.meraki.com/t5/Dashboard-Administration/Make-a-Wish-Requests/m-p/2295#M159

 

Return an array containing the uplink information for a device.

HTTP REQUESTGET /networks/[networkId]/devices/[serial]/uplink PARAMETERS
    None
SAMPLE REQUEST
curl -L -H 'X-Cisco-Meraki-API-Key: <key>' -X GET -H 'Content-Type: application/json' 'https://api.meraki.com/api/v0/networks/[networkId]/devices/[serial]/uplink'
SAMPLE RESPONSE

Successful HTTP Status: 200

[
  {
  "interface":"WAN 1",
  "status":"Active",
  "ip":"10.0.0.0",
  "gateway":"10.0.0.1",
  "publicIp":"123.123.123.1",
  "dns":"8.8.8.8, 8.8.4.4",
  "usingStaticIp":true
  },
  {
  "interface":"WAN 2",
  "status":"Ready",
  "ip":"10.0.4.2",
  "gateway":"10.0.4.1",
  "publicIp":"123.123.123.2",
  "dns":"8.8.8.8",
  "usingStaticIp":false
  }
]
Eliot F | Simplifying IT with Cloud Solutions
Found this helpful? Give me some Kudos! (click on the little up-arrow below)
Getting noticed

Re: Dashboard APIs

Thank the info Gentleman! Much appreciated.

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.