REST Resource: edits.expansionfiles
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源:ExpansionFile
擴充檔案。ExpansionFilesService 的資源。
| JSON 表示法 |
{
"referencesVersion": integer,
"fileSize": string
} |
| 欄位 |
referencesVersion |
integer
如果已設定,這個 APK 的擴充檔案會參照另一個 APK 的擴充檔案。系統不會設定 fileSize 欄位。
|
fileSize |
string (int64 format)
如果已設定,這個欄位表示這個 APK 已上傳擴充檔案,且這個 APK 並未參照其他 APK 的擴充檔案。這個欄位的值是上傳的擴充檔案大小 (以位元組為單位)。
|
方法 |
|
|
擷取指定 APK 的擴充檔案設定。 |
|
|
修補 APK 的擴充檔案設定,以參照其他 APK 的擴充檔案。 |
|
|
更新 APK 的擴充檔案設定,以參照其他 APK 的擴充檔案。 |
|
|
上傳新的擴充檔案,並附加至指定的 APK。 |
錯誤代碼
這項資源的作業會傳回下列 HTTP 錯誤碼:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-01-14 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["缺少我需要的資訊","missingTheInformationINeed","thumb-down"],["過於複雜/步驟過多","tooComplicatedTooManySteps","thumb-down"],["過時","outOfDate","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["示例/程式碼問題","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-01-14 (世界標準時間)。"],[],["Expansion files are configured with `referencesVersion` (referencing another APK's file) or `fileSize` (indicating an uploaded file's size in bytes). Key actions include: fetching an APK's expansion file configuration via `get`, modifying it to reference another file with `patch` or `update`, and uploading a new expansion file using `upload`. The JSON representation shows a file size and references version.\n"]]