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.
Service: streetviewpublish.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
https://streetviewpublish.googleapis.com
REST Resource: v1.photo
Methods | |
---|---|
create |
POST /v1/photo After the client finishes uploading the photo with the returned UploadRef , CreatePhoto publishes the uploaded Photo to Street View on Google Maps. |
delete |
DELETE /v1/photo/{photoId} Deletes a Photo and its metadata. |
get |
GET /v1/photo/{photoId} Gets the metadata of the specified Photo . |
startUpload |
POST /v1/photo:startUpload Creates an upload session to start uploading photo bytes. |
update |
PUT /v1/photo/{photo.photoId.id} Updates the metadata of a Photo , such as pose, place association, connections, etc. |
REST Resource: v1.photos
Methods | |
---|---|
batchDelete |
POST /v1/photos:batchDelete Deletes a list of Photos and their metadata. |
batchGet |
GET /v1/photos:batchGet Gets the metadata of the specified Photo batch. |
batchUpdate |
POST /v1/photos:batchUpdate Updates the metadata of Photos , such as pose, place association, connections, etc. |
list |
GET /v1/photos Lists all the Photos that belong to the user. |