Method: photo.startUpload
HTTP 요청
POST https://streetviewpublish.googleapis.com/v1/photo:startUpload
URL은 gRPC 트랜스코딩 구문을 사용합니다.
응답 본문
성공한 경우 응답 본문에 UploadRef
의 인스턴스가 포함됩니다.
승인 범위
다음 OAuth 범위가 필요합니다.
https://www.googleapis.com/auth/streetviewpublish
자세한 내용은 OAuth 2.0 개요를 참고하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2023-12-01(UTC)
[null,null,["최종 업데이트: 2023-12-01(UTC)"],[[["Initiates an upload session to facilitate uploading photo bytes using the returned UploadRef."],["Uploaded photos must meet specific requirements, including Photo Sphere XMP metadata and size specifications."],["Upon completion, the UploadRef is utilized with photo.create to generate the Photo object entry."],["The request body should be empty for the POST request to `https://streetviewpublish.googleapis.com/v1/photo:startUpload`."],["Authorization requires the `https://www.googleapis.com/auth/streetviewpublish` scope."]]],["This describes how to start uploading photo bytes for Street View. It involves creating an upload session using a POST request to `https://streetviewpublish.googleapis.com/v1/photo:startUpload` with an empty request body. The response returns an `UploadRef` URL, which is used to upload the photo bytes. The photo needs Photo Sphere XMP metadata and must meet Google Maps' size requirements, including being a full 360-degree panorama. Finally use the `UploadRef` with `photo.create` to finalize. The process requires OAuth scope `https://www.googleapis.com/auth/streetviewpublish`.\n"]]