500-430 · Question #25
Which API endpoint is typically used to retrieve a list of applications monitored by the platform?
The correct answer is B. /api/v1/apps/. Option B (/api/v1/apps/) follows REST API design conventions used by most monitoring platforms (like Dynatrace, New Relic, and similar tools), where versioned endpoints (v1) under /api/ expose collections of resources - in this case, the list of monitored applications. Option A (
Question
Which API endpoint is typically used to retrieve a list of applications monitored by the platform?
Options
- A/api/metrics/apps
- B/api/v1/apps/
- C/api/apps/list
- D/ui/apps/dashboard
How the community answered
(53 responses)- A4% (2)
- B87% (46)
- C2% (1)
- D8% (4)
Explanation
Option B (/api/v1/apps/) follows REST API design conventions used by most monitoring platforms (like Dynatrace, New Relic, and similar tools), where versioned endpoints (v1) under /api/ expose collections of resources - in this case, the list of monitored applications. Option A (/api/metrics/apps) is wrong because the metrics segment implies fetching performance data, not an application inventory. Option C (/api/apps/list) is plausible but non-standard - REST convention uses the resource path itself (e.g., /apps/) to return a collection, not a /list suffix. Option D (/ui/apps/dashboard) is clearly a frontend UI route, not an API endpoint, making it unsuitable for programmatic access.
Memory tip: Think "versioned REST collection" - real API endpoints use /api/v{n}/resource/ format. If you see /ui/, it's a webpage; if you see action words like /list or resource categories like /metrics/, it's likely a distractor.
Topics
Community Discussion
No community discussion yet for this question.