300-435 Question 218
Single answerAs a network administrator, you need to discover all devices in your enterprise network and retrieve their details using APIs. You decide to use Cisco DNA Center's API capabilities. Which API endpoint would you use for this purpose?
- A
/api/v1/network-device
- B
/api/v1/topology
- C
/api/v1/interface
- D
/api/v1/device-credential
- E
/api/v1/task
Show answer and explanation
Correct answer: A
Explanation
Cisco DNA Center provides a comprehensive API framework for automating network management tasks. The /api/v1/network-device endpoint is specifically designed for discovering and retrieving details about all network devices in an environment. This makes it the correct choice for the scenario described, as it aligns with the requirement of discovering and accessing device details.
- A. Correct.
This is the correct endpoint for discovering network devices and retrieving their details, such as hostname, IP address, and device type, using Cisco DNA Center's API.
- B. Incorrect.
This endpoint is used for retrieving network topology information, such as links and connections, and is not specific to discovering devices.
- C. Incorrect.
This endpoint is used for retrieving details about network interfaces, such as status and traffic, but not for device discovery.
- D. Incorrect.
This endpoint is used for managing device credentials (e.g., SSH or SNMP credentials) and is not related to network device discovery.
- E. Incorrect.
This endpoint is used for retrieving task-related information, such as status or progress of ongoing jobs, and is not used for network device discovery.