Example 8-3 List of All the Devices in a Specific
Network
Click here to view code image
[
{
"wan2Ip" : null,
"networkId" : "L_646829496481099586",
"lanIp" : "10.10.10.106",
"serial" : "QYYY-WWWW-ZZZZ",
"tags" : " recently-added ",
"lat" : 37.7703718,
"lng" : -122.3871248,
"model" : "MX65",
"mac" : "e0:55:3d:17:d4:23",
"wan1Ip" : "10.10.10.106",
"address" : "500 Terry Francois, San
Francisco"
},
{
"switchProfileId" : null,
"address" : "",
"lng" : -122.098531723022,
"model" : "MS220-8P",
"mac" : "88:15:44:df:f3:af",
"tags" : " recently-added ",
"serial" : "QAAA-BBBB-CCCC",
"networkId" : "L_646829496481099586",
"lanIp" : "192.168.128.2",
"lat" : 37.4180951010362
}
]
Notice from the API response that the “DevNet Always
On Read Only” network has two devices: an MX65
security appliance and an eight-port MS-220 switch. The
output also includes geographic coordinates, MAC
addresses, serial numbers, tags, model numbers, and
other information. The same information is available in
the Meraki GUI dashboard.
Following the process used so far, you can obtain the
same information but this time using Postman. Since the
redirection is automatically done for you, the API
endpoint for Postman is