Method: photoSequence.get

  • Retrieves metadata of a specified PhotoSequence via the Operation interface.

  • Returns an Operation response indicating processing status, error, or the PhotoSequence data.

  • Possible errors include PERMISSION_DENIED if the user lacks access and NOT_FOUND if the PhotoSequence doesn't exist.

  • Requires authorization with the https://www.googleapis.com/auth/streetviewpublish scope.

  • Uses a GET request with the sequence ID as a path parameter and optional view and filter query parameters.

Gets the metadata of the specified PhotoSequence via the Operation interface.

This method returns the following three types of responses:

  • Operation.done = false, if the processing of PhotoSequence is not finished yet.
  • Operation.done = true and Operation.error is populated, if there was an error in processing.
  • Operation.done = true and Operation.response is poulated, which contains a PhotoSequence message.

This method returns the following error codes:

HTTP request

GET https://streetviewpublish.googleapis.com/v1/photoSequence/{sequenceId}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
sequenceId

string

Required. ID of the photo sequence.

Query parameters

Parameters
view
(deprecated)

enum (PhotoView)

Specifies if a download URL for the photo sequence should be returned in downloadUrl of individual photos in the PhotoSequence response.

Note: Currently not implemented.

filter

string

Optional. The filter expression. For example: published_status=PUBLISHED.

The filters supported are: published_status. See https://google.aip.dev/160 for more information.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/streetviewpublish

For more information, see the OAuth 2.0 Overview.