300-435 Question 203
Single answerYou are working with Cisco DNA Center and need to retrieve a list of site hierarchy details for a specific region in your network, using Site APIs. Which API endpoint should you use to achieve this?
- A
/dna/intent/api/v1/site
- B
/dna/intent/api/v1/topology
- C
/dna/intent/api/v1/site-health
- D
/dna/intent/api/v1/network-device
Show answer and explanation
Correct answer: A
Explanation
The Site APIs in Cisco DNA Center are used to manage and retrieve information about site hierarchies. The endpoint '/dna/intent/api/v1/site' specifically allows you to retrieve details about site hierarchies, including regions, buildings, and floor plans. Other endpoints like '/dna/intent/api/v1/topology' or '/dna/intent/api/v1/site-health' are focused on different functionalities such as network topology or health metrics, making them unsuitable for this task.
- A. Correct.
This is the correct API endpoint for retrieving site hierarchy details, such as regions, buildings, and floor plans, in Cisco DNA Center.
- B. Incorrect.
This endpoint is used for retrieving network topology details such as links and nodes, not site hierarchy information.
- C. Incorrect.
This endpoint provides health-related information about sites, such as issue counts and devices' health status, but not detailed site hierarchy information.
- D. Incorrect.
This endpoint is used for retrieving information about network devices, including their configuration and status, but not site hierarchy details.