Dashboard APIs

Solved
diablo24
Building a reputation

Dashboard APIs

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

1 Accepted Solution
diablo24
Building a reputation

Thank the info Gentleman! Much appreciated.

View solution in original post

3 Replies 3
PhilipDAth
Kind of a big deal
Kind of a big deal

Wow, it looks like this information is missing!

MilesMeraki
Head in the Cloud

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)
diablo24
Building a reputation

Thank the info Gentleman! Much appreciated.

Get notified when there are additional replies to this discussion.