Google Photos Library API の以前のドキュメントを表示しています。
Method: albums.get
指定された albumId
に基づいてアルバムを返します。albumId
には、ユーザーが所有するアルバム、またはユーザーが参加している共有アルバムの ID を指定する必要があります。
HTTP リクエスト
GET https://photoslibrary.googleapis.com/v1/albums/{albumId}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
albumId |
string
必須。リクエストするアルバムの ID。
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Album
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/photoslibrary
https://www.googleapis.com/auth/photoslibrary.readonly
https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-12 UTC。
[null,null,["最終更新日 2024-09-12 UTC。"],[[["This endpoint retrieves a specific album using its unique identifier (`albumId`)."],["The request must include the `albumId` of an album the user owns or has joined as a path parameter."],["An empty request body is required, and a successful response returns the album details."],["Authorization is necessary using one of the specified OAuth scopes for Photos Library access."]]],[]]