Method: projects.thumbnails.getPixels

  • The getPixels method computes and returns an image based on a previous thumbnails.create request, requiring the ID and authorization token from that request.

  • This method uses an HTTP GET request to a specific URL that incorporates gRPC Transcoding syntax.

  • The request requires a name path parameter, which is the thumbnail name from Thumbnail.name, and the request body must be empty.

  • Successful responses are generic HTTP responses, and authorization requires specific OAuth scopes like https://www.googleapis.com/auth/earthengine or https://www.googleapis.com/auth/cloud-platform.

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/v1beta/{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.