Method: edits.expansionfiles.update
APK'nın genişletme dosyası yapılandırmasını, başka bir APK'nın genişletme dosyasına referans verecek şekilde günceller. Yeni bir genişletme dosyası eklemek için expandfiles.upload yöntemini kullanın.
HTTP isteği
PUT https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
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ı.
|
apkVersionCode |
integer
Genişletme dosyası yapılandırması okunmakta veya değiştirilmekte olan APK'nın sürüm kodu.
|
expansionFileType |
enum (ExpansionFileType )
Okunan veya değiştirilen dosya yapılandırmasının dosya türü.
|
İstek içeriği
İstek metni, ExpansionFile
öğesinin bir örneğini içerir.
Yanıt gövdesi
Başarılıysa yanıt metni, ExpansionFile
öğ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-08-22 UTC.
[null,null,["Son güncelleme tarihi: 2024-08-22 UTC."],[[["This operation updates an existing APK expansion file configuration to reference another APK's expansion file within an app edit."],["It uses an HTTP PUT request with specific path parameters to identify the app, edit, APK version, and expansion file type."],["The request body requires an ExpansionFile object describing the desired configuration."],["A successful operation returns the updated ExpansionFile object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines the process of updating an APK's expansion file configuration. It uses a PUT request to a specific URL, including package name, edit ID, APK version code, and expansion file type as path parameters. The request and response bodies both contain an `ExpansionFile` instance. The operation requires authorization via the `https://www.googleapis.com/auth/androidpublisher` OAuth scope and leverages gRPC Transcoding syntax. The content also mentions adding a new expansion file with `expansionfiles.upload`.\n"]]