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
https://www.googleapis.com/auth/photoslibrary.readonly.originals