Method: mediaItems.get
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-01-30 UTC。
[null,null,["最終更新日 2025-01-30 UTC。"],[[["This method retrieves a specific media item using its unique identifier (`mediaItemId`)."],["The request must be authorized using one of the specified OAuth scopes, granting access to the user's photo library."],["Functionality will be limited to media items created by your app starting March 31, 2025, as some authorization scopes are being changed (see Photos APIs updates for details)."],["The response provides a detailed representation of the requested media item, including its properties and metadata."],["No request body is required; simply provide the `mediaItemId` as a path parameter in the GET request URL."]]],["The core content describes how to retrieve a media item using its identifier. A `GET` request is sent to `https://photoslibrary.googleapis.com/v1/mediaItems/{mediaItemId}`, with `mediaItemId` as a required path parameter. The request body must be empty. A successful response returns a `MediaItem`. Access requires one of three specified OAuth scopes. Functionality will change on March 31, 2025, limiting interaction to media items created by the app.\n"]]