200-901 Question 89
Single answerYou are tasked with obtaining a list of network devices from a Cisco Meraki environment. Which method or API endpoint should you use to retrieve this information?
- A
GET /networks/{networkId}/devices
- B
GET /organizations/{organizationId}/clients
- C
GET /dna/system/api/v1/network-device
- D
GET /api/v1/tenants/{tenantId}/devices
Show answer and explanation
Correct answer: A
Explanation
In Cisco Meraki, the correct method to obtain a list of network devices is by using the 'GET /networks/{networkId}/devices' API endpoint. This endpoint provides detailed information about devices in a specific network, such as their model, serial number, and status. It is essential to choose the appropriate endpoint based on the platform being queried, as different Cisco platforms (e.g., Meraki, DNA Center, ACI) have their own APIs and endpoints for managing devices.
- A. Correct.
This is the correct endpoint for retrieving a list of network devices in a Cisco Meraki environment. The endpoint requires a valid networkId and returns detailed information about the devices in the specified network.
- B. Incorrect.
This endpoint retrieves a list of client devices connected to a network in a Cisco Meraki environment, not the network devices themselves.
- C. Incorrect.
This endpoint is specific to Cisco DNA Center, not Cisco Meraki, and is used to retrieve network devices managed by DNA Center.
- D. Incorrect.
This endpoint is specific to Cisco ACI (Application Centric Infrastructure), not Cisco Meraki, and is used to retrieve devices within an ACI environment.