Version 4.0.24.18
Validate a theme with the specified information
Validates all values set for the theme, returning any errors encountered, or 200 OK if valid
See Create Theme for constraints
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
POST
/themes/validate
Datatype
Description
Request
body
Expand HTTP Body definition...
body
Theme
Expand Theme definition...
can
lock
Operations the current user is able to perform on this object
begin_at
Timestamp for when this theme becomes active. Null=always
end_at
Timestamp for when this theme expires. Null=never
id
lock
Unique Id
name
Name of theme. Can only be alphanumeric and underscores.
settings
Hash of name/value pairs for theme settings. These names get validated.
Response
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
Datatype
Description
(string)
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Datatype
Description
(object)
message
lock
Error details
errors
Expand ValidationErrorDetail definition...
field
lock
Field with error
code
lock
Error code
message
lock
Error info message
documentation_url
lock
Documentation link
documentation_url
lock
Documentation link
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Examples