Method: internalappsharingartifacts.uploadbundle
App Bundle を内部アプリ共有にアップロードします。Google API クライアント ライブラリを使用している場合は、このエンドポイントを呼び出す前に HTTP リクエストのタイムアウトを長くしてください(タイムアウトは 2 分に設定することをおすすめします)。
Java の例については、タイムアウトとエラーをご覧ください。
HTTP リクエスト
- メディア アップロード リクエスト用のアップロード URI:
POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle
- メタデータ URI(メタデータのみのリクエストの場合):
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/internalappsharing/{packageName}/artifacts/bundle
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
アプリのパッケージ名。
|
リクエスト本文
リクエストの本文には Media
のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には InternalAppSharingArtifact
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-08-22 UTC。
[null,null,["最終更新日 2024-08-22 UTC。"],[[["Uploads an app bundle to internal app sharing using either a media upload or metadata-only request."],["Requires the `packageName` as a path parameter to specify the app."],["The request body should contain an instance of `Media` for the app bundle."],["A successful response returns an `InternalAppSharingArtifact` object with information about the uploaded artifact."],["Utilizes the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization."]]],["This document details uploading an app bundle to internal app sharing. Key actions include sending a `POST` request to either a media upload or metadata URI, dependent on the type of request. The `packageName` is a required path parameter. The request body should be a `Media` instance. A successful response will contain an `InternalAppSharingArtifact` instance. OAuth scope `https://www.googleapis.com/auth/androidpublisher` is required for authorization. HTTP request timeouts of at least 2 minutes are recommended.\n"]]