Method: projects.thumbnails.getPixels
Computes an image showing the result of a computation. The request includes values (an ID and authorisation token) from a previous thumbnails.create
request.
HTTP request
GET https://earthengine.googleapis.com/v1alpha/{name=projects/*/thumbnails/*}:getPixels
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. A thumbnail name from Thumbnail.name .
|
Request body
The request body must be empty.
Response body
If successful, the response is a generic HTTP response whose format is defined by the method.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/earthengine
https://www.googleapis.com/auth/earthengine.readonly
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
For more information, see the OAuth 2.0 Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-06 UTC.
[null,null,["Last updated 2025-03-06 UTC."],[[["Retrieves computed imagery pixels based on a previous `thumbnails.create` request using its ID and authorization token."],["Uses a `GET` request to the specified endpoint with the thumbnail name as a path parameter."],["Requires empty request body and returns a generic HTTP response containing the image data."],["Needs authorization with specific OAuth scopes for accessing and reading Earth Engine data."]]],["This outlines the `getPixels` method for retrieving a computed image. It uses a `GET` request to the specified URL, with the required `name` parameter (a thumbnail ID) in the path. The request body is empty. A successful response returns the image data. Authorization requires specific OAuth scopes, including `earthengine` and `cloud-platform` related permissions. The request utilizes values obtained from a prior `thumbnails.create` call.\n"]]