300-435 Question 215
Single answerA network engineer is tasked with automating the management of devices in their enterprise network using Cisco DNA Center APIs. The engineer needs to fetch the list of all network devices along with their details. Which API endpoint should the engineer use to achieve this task?
- A
/dna/intent/api/v1/network-device
- B
/dna/intent/api/v1/topology
- C
/dna/intent/api/v1/site
- D
/dna/intent/api/v1/task
Show answer and explanation
Correct answer: A
Explanation
To automate the retrieval of network device details, the Cisco DNA Center API endpoint '/dna/intent/api/v1/network-device' should be used. This endpoint is specifically designed to fetch information about all devices managed by Cisco DNA Center, including their IP addresses, types, and statuses. Other endpoints like '/dna/intent/api/v1/topology', '/dna/intent/api/v1/site', and '/dna/intent/api/v1/task' are used for different purposes such as topology, site management, and task monitoring, making them unsuitable for this task.
- A. Correct.
This is the correct endpoint to retrieve the list of all network devices and their details from Cisco DNA Center.
- B. Incorrect.
This endpoint is used to retrieve network topology information and is not specific to fetching device details.
- C. Incorrect.
This endpoint is used to manage site-related configurations and is not used to fetch device details.
- D. Incorrect.
This endpoint is used to fetch task-related information, such as status and progress of automation workflows, and is not related to device details.