Google Photos Library API の以前のドキュメントを表示しています。
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-09-12 UTC。
[null,null,["最終更新日 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"]]