Lists all the Photos
that belong to the user.
Note: Recently created photos that are still being indexed are not returned in the response.
HTTP request
GET https://streetviewpublish.googleapis.com/v1/photos
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
view |
Required. Specifies if a download URL for the photos bytes should be returned in the Photos response. |
pageSize |
Optional. The maximum number of photos to return. |
pageToken |
Optional. The |
filter |
Optional. The filter expression. For example: The filters supported are: |
languageCode |
Optional. 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 languageCode is unspecified, the user's language preference for Google services is used. |
Request body
The request body must be empty.
Response body
Response to list all photos that belong to a user.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"photos": [
{
object ( |
Fields | |
---|---|
photos[] |
List of photos. The |
nextPageToken |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/streetviewpublish
For more information, see the OAuth 2.0 Overview.