產生 MediaItemDataRef 用於上傳媒體項目。
HTTP 要求
POST https://mybusiness.googleapis.com/v4/{parent=accounts/*/locations/*}/media:startUpload
這個網址使用 gRPC 轉碼語法。
路徑參數
| 參數 | |
|---|---|
parent |
要新增這個媒體項目的位置資源名稱。 |
要求主體
要求主體必須為空白。
回應主體
如果成功,回應主體會包含 MediaItemDataRef 的執行例項。
授權範圍
需要下列其中一種 OAuth 範圍:
https://www.googleapis.com/auth/plus.business.managehttps://www.googleapis.com/auth/business.manage
詳情請參閱 OAuth 2.0 總覽。