Method: edits.expansionfiles.update
מעדכן את תצורת קובץ ההרחבה של ה-APK כך שיפנה לקובץ הרחבה של APK אחר. כדי להוסיף קובץ הרחבות חדש, יש להשתמש בשיטה expandfiles.upload.
בקשת HTTP
PUT 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-08-22 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]