Method: sharedAlbums.get

  • Retrieves a shared album using its unique shareToken.

  • Requires an empty request body and returns the album details in the response.

  • Utilizes the GET HTTP method and requires photoslibrary.sharing authorization scope.

  • The API endpoint follows gRPC Transcoding syntax for the URL structure.

Returns the album based on the specified shareToken.

HTTP request

GET https://photoslibrary.googleapis.com/v1/sharedAlbums/{shareToken}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
shareToken

string

Required. Share token of the album to be requested.

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/photoslibrary.sharing