slides.presentations.pages.getThumbnail
Generates a thumbnail URL for the latest version of a specified presentation page, with optional image size and PNG format.
Instructions
Generates a thumbnail of the latest version of the specified page in the presentation and returns a URL to the thumbnail image. This request counts as an expensive read request for quota purposes [HTTP GET]. Returns the requested resource as JSON — request bodies are built from the typed parameters (typed flags win over the params map), or read whole from body_file Siblings over the same resource: get.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Extra KEY=VALUE query pairs for endpoints whose parameters Discovery does not describe. | |
| params | No | Parameter map merged into the request; typed parameters win. | |
| dry_run | No | Return the request that would be sent, without sending it. | |
| body_file | No | Read the request body from this file ('-' for stdin) instead of building one from the parameters. | |
| pageObjectId | Yes | [URL path segment] The object ID of the page whose thumbnail to retrieve. | |
| presentationId | Yes | [URL path segment] The ID of the presentation to retrieve. | |
| thumbnailProperties.mimeType | No | [query parameter] The optional mime type of the thumbnail image. If you don't specify the mime type, the mime type defaults to PNG. Values: `PNG` = The default mime type.. | |
| thumbnailProperties.thumbnailSize | No | [query parameter] The optional thumbnail image size. If you don't specify the size, the server chooses a default size of the image. Values: `THUMBNAIL_SIZE_UNSPECIFIED` = The default thumbnail image size. The unspecified thumbnail size implies that the server chooses the size of the image in a way that might vary in the future.; `LARGE` = The thumbnail image width of 1600px.; `MEDIUM` = The thumbnail image width of 800px.; `SMALL` = The thumbnail image width of 200px.; `WIDTH2000_PX` = The thumbnail image width of 2000px.. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| contentUrl | No |