Version 4.0.24.12
Get active themes
Returns an array of active themes.
If the name
parameter is specified, it will return an array with one theme if it's active and found.
The optional ts
parameter can specify a different timestamp than "now."
Note: Custom themes needs to be enabled by Looker. Unless custom themes are enabled, only the automatically generated default theme can be used. Please contact your Account Manager or https://console.cloud.google.com/support/cases/ to update your license for this feature.
Request
GET
/themes/active
Expand HTTP Query definition...
name
string
Name of theme
ts
string
Timestamp representing the target datetime for the active period. Defaults to 'now'
fields
string
Requested fields.
Response
200: Themes
can
lock
object
Operations the current user is able to perform on this object
begin_at
string
Timestamp for when this theme becomes active. Null=always
end_at
string
Timestamp for when this theme expires. Null=never
name
string
Name of theme. Can only be alphanumeric and underscores.
settings
Hash of name/value pairs for theme settings. These names get validated.
Expand ThemeSettings definition...
background_color
string
Default background color
base_font_size
string
Base font size for scaling fonts (only supported by legacy dashboards)
color_collection_id
string
Optional. ID of color collection to use with the theme. Use an empty string for none.
font_color
string
Default font color
font_family
string
Primary font family
font_source
string
Source specification for font
info_button_color
string
(DEPRECATED) Info button color
primary_button_color
string
Primary button color
show_filters_bar
boolean
Toggle to show filters. Defaults to true.
show_title
boolean
Toggle to show the title. Defaults to true.
text_tile_text_color
string
Text color for text tiles
tile_background_color
string
Background color for tiles
text_tile_background_color
string
Background color for text tiles
tile_text_color
string
Text color for tiles
title_color
string
Color for titles
warn_button_color
string
(DEPRECATED) Warning button color
tile_title_alignment
string
The text alignment of tile titles (New Dashboards)
tile_shadow
boolean
Toggles the tile shadow (not supported)
show_last_updated_indicator
boolean
Toggle to show the dashboard last updated indicator. Defaults to true.
show_reload_data_icon
boolean
Toggle to show reload data icon/button. Defaults to true.
show_dashboard_menu
boolean
Toggle to show the dashboard actions menu. Defaults to true.
show_filters_toggle
boolean
Toggle to show the filters icon/toggle. Defaults to true.
show_dashboard_header
boolean
Toggle to show the dashboard header. Defaults to true.
center_dashboard_title
boolean
Toggle to center the dashboard title. Defaults to false.
dashboard_title_font_size
string
Dashboard title font size.
box_shadow
string
Default box shadow.
page_margin_top
string
Dashboard page margin top.
page_margin_bottom
string
Dashboard page margin bottom.
page_margin_sides
string
Dashboard page margin left and right.
show_explore_header
boolean
Toggle to show the explore page header. Defaults to true.
show_explore_title
boolean
Toggle to show the explore page title. Defaults to true.
show_explore_last_run
boolean
Toggle to show the explore page last run. Defaults to true.
show_explore_timezone
boolean
Toggle to show the explore page timezone. Defaults to true.
show_explore_run_stop_button
boolean
Toggle to show the explore page run button. Defaults to true.
show_explore_actions_button
boolean
Toggle to show the explore page actions button. Defaults to true.
show_look_header
boolean
Toggle to show the look page header. Defaults to true.
show_look_title
boolean
Toggle to show the look page title. Defaults to true.
show_look_last_run
boolean
Toggle to show the look page last run. Defaults to true.
show_look_timezone
boolean
Toggle to show the look page timezone Defaults to true.
show_look_run_stop_button
boolean
Toggle to show the look page run button. Defaults to true.
show_look_actions_button
boolean
Toggle to show the look page actions button. Defaults to true.
tile_title_font_size
string
Font size for tiles.
column_gap_size
string
The vertical gap/gutter size between tiles.
row_gap_size
string
The horizontal gap/gutter size between tiles.
border_radius
string
The border radius for tiles.
400: Bad Request
message
lock
string
Error details
documentation_url
lock
string
Documentation link
404: Not Found
message
lock
string
Error details
documentation_url
lock
string
Documentation link
429: Too Many Requests
message
lock
string
Error details
documentation_url
lock
string
Documentation link