Version 4.0.24.14
Validate All Content
Performs validation of all looks and dashboards Returns a list of errors found as well as metadata about the content validation run.
Request
GET
/content_validation
Datatype
Description
Request
query
Expand HTTP Query definition...
fields
Requested fields.
Response
200: Content validation results
Datatype
Description
(object)
content_with_errors
Expand ContentValidatorError definition...
look
lock
Expand ContentValidationLook definition...
id
lock
Unique Id
title
Look Title
short_url
lock
Short Url
folder
lock
Folder of this Look
dashboard
lock
Expand ContentValidationDashboard definition...
description
Description
id
lock
Unique Id
folder
lock
Folder
title
Dashboard Title
url
lock
Relative URL of the dashboard
dashboard_element
lock
Expand ContentValidationDashboardElement definition...
body_text
Text tile body text
dashboard_id
Id of Dashboard
id
lock
Unique Id
look_id
Id Of Look
note_display
Note Display
note_state
Note State
note_text
Note Text
note_text_as_html
lock
Note Text as Html
query_id
Id Of Query
subtitle_text
Text tile subtitle text
title
Title of dashboard element
title_hidden
Whether title is hidden
title_text
Text tile title
type
Type
rich_content_json
JSON with all the properties required for rich editor and buttons elements
extension_id
Extension ID
dashboard_filter
lock
Expand ContentValidationDashboardFilter definition...
id
lock
Unique Id
dashboard_id
lock
Id of Dashboard
name
Name of filter
title
Title of filter
type
Type of filter: one of date, number, string, or field
default_value
Default value of filter
model
Model of filter (required if type = field)
explore
Explore of filter (required if type = field)
dimension
Dimension of filter (required if type = field)
scheduled_plan
lock
Expand ContentValidationScheduledPlan definition...
name
Name of this scheduled plan
look_id
Id of a look
id
lock
Unique Id
alert
lock
Expand ContentValidationAlert definition...
id
ID of the alert
lookml_dashboard_id
ID of the LookML dashboard associated with the alert
lookml_link_id
ID of the LookML dashboard element associated with the alert
custom_url_base
Domain for the custom url selected by the alert creator from the admin defined domain allowlist
custom_url_params
Parameters and path for the custom url defined by the alert creator
custom_url_label
Label for the custom url defined by the alert creator
show_custom_url
Boolean to determine if the custom url should be used
custom_title
An optional, user-defined title for the alert
lookml_dashboard
lock
Expand ContentValidationLookMLDashboard definition...
id
lock
ID of the LookML Dashboard
title
lock
Title of the LookML Dashboard
space_id
lock
ID of Space
lookml_dashboard_element
lock
Expand ContentValidationLookMLDashboardElement definition...
lookml_link_id
lock
Link ID of the LookML Dashboard Element
title
lock
Title of the LookML Dashboard Element
errors
Expand ContentValidationError definition...
message
lock
Error message
field_name
lock
Name of the field involved in the error
model_name
lock
Name of the model involved in the error
explore_name
lock
Name of the explore involved in the error
removable
lock
Whether this validation error is removable
id
lock
An id unique to this piece of content for this validation run
computation_time
lock
Duration of content validation in seconds
total_looks_validated
lock
The number of looks validated
total_dashboard_elements_validated
lock
The number of dashboard elements validated
total_dashboard_filters_validated
lock
The number of dashboard filters validated
total_scheduled_plans_validated
lock
The number of scheduled plans validated
total_alerts_validated
lock
The number of alerts validated
total_explores_validated
lock
The number of explores used across all content validated
400: Bad Request
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
404: Not Found
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
422: Validation Error
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
429: Too Many Requests
Datatype
Description
(object)
message
lock
Error details
documentation_url
lock
Documentation link
Examples
Python
https://github.com/looker-open-source/sdk-codegen/blob/main/examples/python/content_validator_comparison.py |
Ruby
https://github.com/looker-open-source/sdk-codegen/blob/main/examples/ruby/validate_content.rb |