Yanıtta döndürülecek maksimum albüm sayısı. Belirtilen sayıdan daha az albüm iade edilebilir. Varsayılan pageSize değeri 20, maksimum değer 50'dir.
pageToken
string
Sonuçların bir sonraki sayfasını almak için bir devam ağı jetonu. Bu parametre isteğe eklendiğinde pageToken'ten sonraki satırlar döndürülür. pageToken, listAlbums isteğinin yanıtındaki nextPageToken parametresinde döndürülen değer olmalıdır.
excludeNonAppCreatedData
boolean
Ayarlanırsa sonuçlar, bu uygulama tarafından oluşturulmayan medya öğelerini hariç tutar. Varsayılan değeri yanlıştır (tüm albümler döndürülür). photoslibrary.readonly.appcreateddata kapsamı kullanılırsa bu alan yoksayılır.
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
İstenen albümlerin listesi.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-01-30 UTC."],[[["Lists all albums displayed in the user's Google Photos Albums tab."],["Allows filtering by page size, page token, and excluding non-app created data."],["Responses include an array of albums and a token for retrieving further pages."],["Requires specific authorization scopes for access, with some legacy scopes being phased out."],["Functionality will be limited to app-created media starting March 31, 2025."]]],["This document details how to retrieve a list of albums from the Google Photos app using the `GET https://photoslibrary.googleapis.com/v1/albums` request. The request requires no body but accepts `pageSize`, `pageToken`, and `excludeNonAppCreatedData` as query parameters. The response includes an array of albums and an optional `nextPageToken` for pagination. It also outlines the required authorization scopes and indicates that certain scopes will limit functionality to app-created content after March 31, 2025.\n"]]