Method: edits.bundles.upload
新しい Android App Bundle をこの編集にアップロードします。Google API クライアント ライブラリを使用している場合は、このエンドポイントを呼び出す前に、HTTP リクエストのタイムアウトの値を増やしてください(2 分を推奨)。Java の例については、タイムアウトとエラーをご覧ください。
HTTP リクエスト
- アップロード URI(メディアのアップロード リクエストの場合):
POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
- メタデータ URI(メタデータのみの追加リクエストの場合):
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/bundles
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
アプリのパッケージ名。
|
editId |
string
編集の識別子。
|
クエリ パラメータ
パラメータ |
ackBundleInstallationWarning (deprecated) |
boolean
非推奨です。インストールに関する警告が削除されたため、このフィールドを設定する必要はありません。
|
deviceTierConfigId |
string
成果物(APK)を生成するために使用されるデバイス階層設定(DTC)。DTC の ID、または「LATEST」(最後にアップロードされた DTC の場合)を含みます。
|
リクエスト本文
リクエストの本文には BundlesUploadRequestBody
のインスタンスが含まれます。
レスポンスの本文
成功した場合、レスポンスの本文には Bundle
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-17 UTC。
[null,null,["最終更新日 2024-12-17 UTC。"],[[["Uploads a new Android App Bundle to the specified edit using either media upload or metadata-only requests."],["Requires providing the package name and edit ID as path parameters in the request URL."],["Optionally allows setting query parameters for device tier config and acknowledging bundle installation warnings (deprecated)."],["Utilizes the `BundlesUploadRequestBody` in the request body and returns a `Bundle` object in the response upon success."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines how to upload an Android App Bundle to an edit using the Android Publisher API. Key actions include sending a `POST` request to a specified URI, which can be a media upload URI or a metadata-only URI. Required path parameters are `packageName` and `editId`. Optional query parameters include `deviceTierConfigId`, while `ackBundleInstallationWarning` is deprecated. The request body should contain `BundlesUploadRequestBody`, and a successful response will provide a `Bundle` instance. The operation requires the `androidpublisher` authorization scope. It is advised to increase the HTTP request timeout to 2 minutes.\n"]]