Przeglądasz starszą dokumentację interfejsu Google Photos Library API.
Method: sharedAlbums.get
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca album na podstawie określonego shareToken
.
Żądanie HTTP
GET https://photoslibrary.googleapis.com/v1/sharedAlbums/{shareToken}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
shareToken |
string
Wymagane. Udostępnij token albumu, którego dotyczy prośba.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu Album
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/photoslibrary.sharing
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[],["The core content describes how to retrieve an album using a share token. A `GET` request is sent to the specified URL, including the required `shareToken` as a path parameter. The request body must be empty. A successful response returns an `Album` instance. This operation requires the `https://www.googleapis.com/auth/photoslibrary.sharing` authorization scope, as defined for sharing. There is also a try it option available to users.\n"],null,[]]