Method: sharedAlbums.get
指定した shareToken
に基づいてアルバムを返します。
HTTP リクエスト
GET https://photoslibrary.googleapis.com/v1/sharedAlbums/{shareToken}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
shareToken |
string
必須。リクエストするアルバムの共有トークン。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Album
のインスタンスが含まれます。
承認スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/photoslibrary.sharing
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-04-03 UTC。
[null,null,["最終更新日 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"]]