Bir albümü paylaşılan ve diğer kullanıcıların erişebileceği şekilde işaretler. Bu işlem yalnızca geliştirici tarafından API aracılığıyla oluşturulan albümlerde yapılabilir.
HTTP isteği
POST https://photoslibrary.googleapis.com/v1/albums/{albumId}:share
[[["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: 2024-11-07 UTC."],[[["This method shares an existing album, making it accessible to others, but only for albums created via the API."],["The album is shared by sending a POST request to a specific URL, including the album's ID in the path."],["Request and response bodies utilize JSON format to provide and retrieve information about the shared album and its settings."],["The method requires specific authorization using the `https://www.googleapis.com/auth/photoslibrary.sharing` scope."],["This method will be deprecated starting March 31, 2025, and developers should consult the Photos APIs updates for alternatives."]]],["This document outlines the process for sharing an album via the Google Photos API, which will be deprecated after March 31, 2025. It details using a `POST` request to `https://photoslibrary.googleapis.com/v1/albums/{albumId}:share`, including the required `albumId` path parameter and a request body with `sharedAlbumOptions`. The API call needs the `https://www.googleapis.com/auth/photoslibrary.sharing` authorization scope. A successful response returns a `shareInfo` object. This only applies to albums the developer created.\n"]]