Method: mediaItems.get
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-01-30 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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"]]