Version 4.0.24.20 (latest)
Get an image representing the contents of a dashboard or look.
The returned thumbnail is an abstract representation of the contents of a dashboard or look and does not reflect the actual data displayed in the respective visualizations.
Request
GET
/content_thumbnail/{type}/{resource_id}
Datatype
Description
Request
path
Expand HTTP Path definition...
type
Either dashboard or look
resource_id
ID of the dashboard or look to render
query
Expand HTTP Query definition...
reload
Whether or not to refresh the rendered image with the latest content
theme
Light or dark background. Default is "light"
format
A value of png produces a thumbnail in PNG format instead of SVG (default)
width
The width of the image if format is supplied
height
The height of the image if format is supplied
Response
200: Content thumbnail
Datatype
Description
(string)
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
Kotlin
https://github.com/looker-open-source/sdk-codegen/blob/main/kotlin/src/test/TestSmoke.kt |
TypeScript
Python
Swift
https://github.com/looker-open-source/sdk-codegen/blob/main/swift/looker/Tests/lookerTests/smokeTests.swift |