DevNet Associate DEVASC 200-901 Official Certification Guide by Adrian Iliesiu (z-lib.org)

(andrew) #1

Dashboard API. You have also discovered that the base
URL for the DevNet Sandbox organization is
https://n149.meraki.com/api/v0. You can modify the
API endpoint with this information to use the following
curl command:


Click here to view code image


curl -X GET \
--url
'https://n149.meraki.com/api/v0/organizations/549236/
networks' \
-H 'X-Cisco-Meraki-API-Key:
15da0c6ffff295f16267f88f98694c
f29a86ed87'\
-H 'Accept: application/json'

The response from the API should contain a list of all the
networks that are part of the DevNet Sandbox
organization and should look similar to the output in
Example 8-2.


Example 8-2 List of All the Networks in a Specific
Organization


Click here to view code image


[
{
"timeZone" : "America/Los_Angeles",
"tags" : " Sandbox ",
"organizationId" : "549236",
"name" : "DevNet Always On Read Only",
"type" : "combined",
"disableMyMerakiCom" : false,
"disableRemoteStatusPage" : true,
"id" : "L_646829496481099586"
},
{
"organizationId" : "549236",
"tags" : null,
"timeZone" : "America/Los_Angeles",
"id" : "N_646829496481152899",
"disableRemoteStatusPage" : true,
"name" : "test - mx65",
"disableMyMerakiCom" : false,
Free download pdf