Method: edits.expansionfiles.patch
تصحيح إعدادات ملف البيانات الموسّعة لحزمة APK للإشارة إلى ملف بيانات موسّعة لحزمة APK أخرى لإضافة ملف بيانات موسّعة جديد، استخدِم الطريقة expansionfiles.upload.
طلب HTTP
PATCH https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
packageName |
string
اسم حزمة التطبيق
|
editId |
string
معرّف التعديل
|
apkVersionCode |
integer
رمز إصدار حزمة APK التي تتم قراءة إعدادات ملف البيانات الموسّعة لها أو تعديلها.
|
expansionFileType |
enum (ExpansionFileType )
نوع ملف إعدادات ملف البيانات الموسّعة الذي يتم تعديله.
|
نص الطلب
يحتوي نص الطلب على مثال ExpansionFile
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال ExpansionFile
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/androidpublisher
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-12-17 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-12-17 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]