Street View Publish API
Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and…
Maps & location#openapi#analytics#media
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images.
Endpoints 14
photo
- POSTAfter the client finishes uploading the photo with the returned UploadRef, CreatePhoto publishes the uploaded Photo to…
/v1/photoAfter the client finishes uploading the photo with the returned UploadRef, CreatePhoto publishes the uploaded Photo to Street View on Google Maps. Currently,… - GETGets the metadata of the specified Photo
/v1/photo/:photoId?languageCode=string&view=BASICGets the metadata of the specified Photo. This method returns the following error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did not… - DELETEDeletes a Photo and its metadata
/v1/photo/:photoIdDeletes a Photo and its metadata. This method returns the following error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did not create the… - POSTCreates an upload session to start uploading photo bytes
/v1/photo:startUploadCreates an upload session to start uploading photo bytes. The method uses the upload URL of the returned UploadRef to upload the bytes for the Photo. In… - PUTUpdates the metadata of a Photo, such as pose, place association, connections, etc
/v1/photo/:id?updateMask=stringUpdates the metadata of a Photo, such as pose, place association, connections, etc. Changing the pixels of a photo is not supported. Only the fields specified…
photoSequence
- POSTAfter the client finishes uploading the PhotoSequence with the returned UploadRef, CreatePhotoSequence extracts a…
/v1/photoSequence?inputType=INPUT_TYPE_UNSPECIFIEDAfter the client finishes uploading the PhotoSequence with the returned UploadRef, CreatePhotoSequence extracts a sequence of 360 photos from a video or… - GETGets the metadata of the specified PhotoSequence via the Operation interface
/v1/photoSequence/:sequenceId?filter=string&view=BASICGets the metadata of the specified PhotoSequence via the Operation interface. This method returns the following three types of responses: * Operation.done =… - DELETEDeletes a PhotoSequence and its metadata
/v1/photoSequence/:sequenceIdDeletes a PhotoSequence and its metadata. This method returns the following error codes: * google.rpc.Code.PERMISSION_DENIED if the requesting user did not… - POSTCreates an upload session to start uploading photo sequence data
/v1/photoSequence:startUploadCreates an upload session to start uploading photo sequence data. The upload URL of the returned UploadRef is used to upload the data for the photoSequence.…
photoSequences
- GETLists all the PhotoSequences that belong to the user, in descending CreatePhotoSequence timestamp order.
/v1/photoSequences?filter=string&pageSize=0&pageToken=stringLists all the PhotoSequences that belong to the user, in descending CreatePhotoSequence timestamp order.
photos
- POSTDeletes a list of Photos and their metadata
/v1/photos:batchDeleteDeletes a list of Photos and their metadata. Note that if BatchDeletePhotos fails, either critical fields are missing or there is an authentication error.… - GETGets the metadata of the specified Photo batch
/v1/photos:batchGet?languageCode=string&photoIds=string&view=BASICGets the metadata of the specified Photo batch. Note that if BatchGetPhotos fails, either critical fields are missing or there is an authentication error.… - POSTUpdates the metadata of Photos, such as pose, place association, connections, etc
/v1/photos:batchUpdateUpdates the metadata of Photos, such as pose, place association, connections, etc. Changing the pixels of photos is not supported. Note that if… - GETLists all the Photos that belong to the user
/v1/photos?filter=string&languageCode=string&pageSize=0&pageToken=string&view=BASICLists all the Photos that belong to the user. > Note: Recently created photos that are still being indexed are not returned in the response.
API details
- Base URL
https://streetviewpublish.googleapis.com- Authentication
- OAuth 2.0 (authorization code flow) with 1 scope
An API key in the key query parameter - Operations
- 14 operations on 12 pathsPOST 6GET 5DELETE 2PUT 1
- Main resources
- photo 5photoSequence 4photos 4photoSequences 1
- Response formats
application/json- Description format
- Google API Discovery, API version
v1 - Links
- Documentation · OpenAPI document
- Listed from
- Google API Discovery document (googleapis/discovery-artifact-manager) (Apache-2.0)
How to test the Street View Publish API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Street View Publish API collection, without the publisher's secrets.
- Add your credentialsThis API uses OAuth 2.0 (authorization code flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “After the client finishes uploading the photo with the returned UploadRef, CreatePhoto publishes the uploaded Photo to…” (POST /v1/photo), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Street View Publish API?
Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and… It is listed under Maps & location and has 14 endpoints.
Who publishes the Street View Publish API?
It is listed from Google's public API description (an OpenAPI document), not published by Google on Swastik Codes. Anyone who controls googleapis.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Street View Publish API?
Requests go to https://streetviewpublish.googleapis.com. Endpoint paths are added to this base URL.
How do I authenticate with the Street View Publish API?
It accepts 2 methods: OAuth 2.0 (authorization code flow) with 1 scope; an API key in the key query parameter.
How many endpoints does the Street View Publish API have?
14 operations on 12 paths (6 POST, 5 GET, 2 DELETE, 1 PUT). The largest groups are photo, photoSequence, photos, photoSequences.
Is forking the Street View Publish API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.