Method: edits.apks.upload
Bir APK yükler ve mevcut düzenlemeye ekler.
HTTP isteği
- Medya yükleme istekleri için yükleme URI'si:
POST https://androidpublisher.googleapis.com/upload/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks
- Yalnızca meta veri istekleri için meta veri URI'si:
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
packageName |
string
Uygulamanın paket adı.
|
editId |
string
Düzenlemenin tanımlayıcısıdır.
|
İstek içeriği
İstek metni, ApksUploadRequestBody
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, Apk
öğesinin bir örneğini içerir.
Yetkilendirme kapsamları
Aşağıdaki OAuth kapsamını gerektirir:
https://www.googleapis.com/auth/androidpublisher
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-12-17 UTC.
[null,null,["Son güncelleme tarihi: 2024-12-17 UTC."],[[["Uploads an APK file to a specific edit of your Android app using either media upload or metadata-only requests."],["Requires providing the package name and edit ID as path parameters in the request URL."],["The request body should contain an `ApksUploadRequestBody` instance for the upload."],["A successful response will return an `Apk` object with details about the uploaded APK."],["You'll need the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization."]]],["The core actions involve uploading an APK to an application edit using `POST` requests. Two URIs are provided: one for media uploads and another for metadata-only. The URL requires `packageName` and `editId` path parameters. The request body utilizes `ApksUploadRequestBody`, while a successful response returns an `Apk` instance. This process mandates the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization.\n"]]