Validate Theme

Version 4.0.24.18

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.

POST /themes/validate
Datatype
Description
Request
HTTP Request
body
HTTP Body
body
Theme
can
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
id
string
Unique Id
name
string
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
string
Error details
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link
Datatype
Description
(string)
string
Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link
Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link
Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link
Datatype
Description
(object)
message
string
Error details
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link
Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

Examples