v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13143047.9 KB
photo

Gets the metadata of the specified Photo. This method returns the following error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did not create the requested Photo. * google.rpc.Code.NOT_FOUND if the requested Photo does not exist. * google.rpc.Code.UNAVAILABLE if the requested Photo is still being indexed.

get/v1/photo/{photoId}

Path parameters

photoIdstring required

Required. ID of the Photo.

Query parameters

languageCodestring

The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. If language_code is unspecified, the user's language preference for Google services is used.

view'BASIC' | 'INCLUDE_DOWNLOAD_URL'

Required. Specifies if a download URL for the photo bytes should be returned in the Photo response.

Response

Successful response