AI-generated Key Takeaways
- 
          This endpoint retrieves a specific media item using its unique identifier. 
- 
          The request is made using an HTTP GET request to the specified URL with the mediaItemIdas a path parameter.
- 
          An empty request body is required, and a successful response returns a MediaItemobject.
- 
          Authorization is necessary using one of the listed OAuth scopes related to Google Photos Library access. 
Returns the media item for the specified media item identifier.
HTTP request
GET https://photoslibrary.googleapis.com/v1/mediaItems/{mediaItemId}
The URL uses gRPC Transcoding syntax.
Path parameters
| Parameters | |
|---|---|
| mediaItemId | 
 Required. Identifier of the media item to be requested. | 
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of MediaItem.
Authorization scopes
Requires one of the following OAuth scopes:
- https://www.googleapis.com/auth/photoslibrary
- https://www.googleapis.com/auth/photoslibrary.readonly
- https://www.googleapis.com/auth/photoslibrary.readonly.appcreateddata
