Method: sharedAlbums.get
Gibt das Album basierend auf dem angegebenen shareToken
zurück.
HTTP-Anfrage
GET https://photoslibrary.googleapis.com/v1/sharedAlbums/{shareToken}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
shareToken |
string
Erforderlich. Freigabetoken des angeforderten Albums.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von Album
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/photoslibrary.sharing
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-04-03 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-04-03 (UTC)."],[[["This method retrieves an album using its share token."],["It requires an empty request body and returns an `Album` object upon success."],["Authorization is necessary using the `https://www.googleapis.com/auth/photoslibrary.sharing` scope."],["This method will be deprecated on March 31, 2025, due to changes in authorization scopes, as detailed on the Photos APIs updates page."]]],["The core content describes retrieving a shared album using a `shareToken`. A `GET` request is sent to the specified URL, including the required `shareToken` as a path parameter. The request body must be empty. Successful requests return an `Album` instance in the response body. The authorization scope `https://www.googleapis.com/auth/photoslibrary.sharing` is mandatory. Note: This method will stop working after March 31, 2025, due to scope removal.\n"]]