Added
Cloud Analytics: report display settings and active theme API
about 14 hours ago
New endpoints, per-user active theme:
- GET /analytics/v1/settings/active-theme: returns the authenticated user's active theme.
- PUT /analytics/v1/settings/active-theme: sets the active theme.
Use the reserved sentinel themeId: "default" to clear the active theme and fall back to the built-in default.
Report displaySettings on create, update, get, and list:
displaySettings on create, update, get, and list:Reports now expose an optional config.displaySettings block:
| Field | Values |
|---|---|
themeId | Theme ID, or "default" to clear |
dataLabelFontSize | auto, small, medium, large |
axisLabelFontSize | auto, small, medium, large |
numberScale | auto, thousands, millions, billions, raw |
decimalPrecision | 0–8 |
Set per-report theme and chart display options via POST /analytics/v1/reports and PATCH /analytics/v1/reports/{id}. Invalid enum values or a negative decimalPrecision return 400 with a field-scoped error.
Action for integrators
Use the active-theme endpoints for a user's default theme preference, and config.displaySettings to pin display options on individual reports.