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.readonly.appcreateddata
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-04-01 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-04-01 UTC。"],[[["This method retrieves a specific album using its `albumId`, provided the album is owned by the user or is a shared album they have joined."],["The request requires an `albumId` as a path parameter and an empty request body."],["A successful response returns an [Album](/photos/library/reference/rest/v1/albums#Album) object containing the album's data."],["Authorization is necessary using one of the specified OAuth scopes, including options for read-only access and accessing app-created data."],["Functionality changes are coming in March 2025, limiting interactions to media from your app; see [Photos APIs updates](https://developers.google.com/photos/updates.md) for details."]]],[]]