Google Photos Library API ile ilgili eski dokümanları görüntülüyorsunuz.
Method: sharedAlbums.get
Belirtilen shareToken
değerine göre albümü döndürür.
HTTP isteği
GET https://photoslibrary.googleapis.com/v1/sharedAlbums/{shareToken}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
shareToken |
string
Zorunlu. İstenecek albümün paylaşım jetonu.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt metni
Başarılıysa yanıt metni, Album
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/photoslibrary.sharing
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-12 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-12 UTC."],[[["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."]]],["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"]]