merrittMelker
03-06-2025Data Storage
Fetching full dashboard definitions efficiently
The issue: Fetching full dashboard definitions efficiently.
- /api/v1/dashboards?expand=widgets returns full definitions but can't be filtered by OIDs.
- /api/v1/dashboards/{dashboardId}?expand=widgets allows per-dashboard retrieval but requires Admin role for full data, which seems like a defect.
- /api/v1/dashboards/{dashboardId} + /api/v1/dashboards/{dashboardId}/widgets might work but requires merging results, which we’d like to avoid.
Is there a way to retrieve full dashboard definitions in a single call for a filtered list of OIDs? Also, could /dashboards/export be a viable alternative?