Method: edits.expansionfiles.patch
APK'nın genişletme dosyası yapılandırmasını, başka bir APK'nın genişletme dosyasını referans alacak şekilde yamalar. Yeni bir genişletme dosyası eklemek için expansionfiles.upload yöntemini kullanın.
HTTP isteği
PATCH 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ıdır.
|
apkVersionCode |
integer
Genişletme dosyası yapılandırması okunmakta veya değiştirilmekte olan APK'nın sürüm kodu.
|
expansionFileType |
enum (ExpansionFileType )
Güncellenen genişletme dosyası 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-12-17 UTC.
[null,null,["Son güncelleme tarihi: 2024-12-17 UTC."],[[["Patches an APK's expansion file configuration to reference another APK's expansion file, allowing you to link expansion files between APKs."],["Utilizes an HTTP PATCH request with specific path parameters to identify the target application, edit, APK version, and expansion file type."],["Requires an ExpansionFile object in the request body to specify the configuration details and returns the updated ExpansionFile in the response."],["To add a new expansion file instead of patching an existing one, you should use the expansionfiles.upload method."],["Needs authorization with the `https://www.googleapis.com/auth/androidpublisher` scope for access."]]],["This API allows patching an APK's expansion file configuration to point to another APK's expansion file. The HTTP request uses `PATCH` to update at a specific URL with path parameters: `packageName`, `editId`, `apkVersionCode`, and `expansionFileType`. The request and response bodies use the `ExpansionFile` format. The process needs authorization with the `https://www.googleapis.com/auth/androidpublisher` OAuth scope. New expansion files must be added via the `expansionfiles.upload` method.\n"]]