v1

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

After the client finishes uploading the PhotoSequence with the returned UploadRef, CreatePhotoSequence extracts a sequence of 360 photos from a video or Extensible Device Metadata (XDM, http://www.xdm.org/) to be published to Street View on Google Maps. CreatePhotoSequence returns an Operation, with the PhotoSequence Id set in the Operation.name field. This method returns the following error codes: * google.rpc.Code.INVALID_ARGUMENT if the request is malformed. * google.rpc.Code.NOT_FOUND if the upload reference does not exist.

post/v1/photoSequence

Query parameters

inputType'INPUT_TYPE_UNSPECIFIED' | 'VIDEO' | 'XDM'

Required. The input form of PhotoSequence.

Request body

gpsSource'PHOTO_SEQUENCE' | 'CAMERA_MOTION_METADATA_TRACK'

Input only. If both raw_gps_timeline and the Camera Motion Metadata Track (CAMM) contain GPS measurements, indicate which takes precedence.

uploadTimestring google-datetime

Output only. The time this photo sequence was created in uSV Store service.

processingState'PROCESSING_STATE_UNSPECIFIED' | 'PENDING' | 'PROCESSING' | 'PROCESSED' | 'FAILED'

Output only. The processing state of this sequence.

filenamestring

Output only. The filename of the upload. Does not include the directory path. Only available if the sequence was uploaded on a platform that provides the filename.

captureTimeOverridestring google-datetime

Optional. Absolute time when the photo sequence starts to be captured. If the photo sequence is a video, this is the start time of the video. If this field is populated in input, it overrides the capture time in the video or XDM file.

failureReason'PROCESSING_FAILURE_REASON_UNSPECIFIED' | 'LOW_RESOLUTION' | 'DUPLICATE' | 'INSUFFICIENT_GPS' | 'NO_OVERLAP_GPS' | 'INVALID_GPS' | 'FAILED_TO_REFINE_POSITIONS' | 'TAKEDOWN' | 'CORRUPT_VIDEO' | 'INTERNAL' | 'INVALID_VIDEO_FORMAT' | 'INVALID_VIDEO_DIMENSIONS' | 'INVALID_CAPTURE_TIME' | 'GPS_DATA_GAP' | 'JUMPY_GPS' | 'INVALID_IMU' | 'INSUFFICIENT_IMU' | 'INSUFFICIENT_OVERLAP_TIME_SERIES' | 'IMU_DATA_GAP' | 'UNSUPPORTED_CAMERA' | 'NOT_OUTDOORS' | 'INSUFFICIENT_VIDEO_FRAMES' | 'INSUFFICIENT_MOVEMENT' | 'MAST_DOWN' | 'CAMERA_COVERED'

Output only. If this sequence has processing_state = FAILED, this will contain the reason why it failed. If the processing_state is any other value, this field will be unset.

viewCountstring int64

Output only. The total number of views that all the published images in this PhotoSequence have received.

distanceMetersnumber double

Output only. The computed distance of the photo sequence in meters.

idstring

Output only. Unique identifier for the photo sequence. This also acts as a long running operation ID if uploading is performed asynchronously.

Response

Successful response

All 14 operations