您只能使用该 API 更改现有应用(即已上传至少一个 APK 的应用);因此,您必须先通过 Play 管理中心上传至少一个 APK,然后才能使用该 API。此外,您也无法使用该 API 将应用状态从“已发布”更改为“未发布”,或将其用于填写发布应用所需的法律同意书。如需发布应用,您必须使用 Play 管理中心。
工作流程
本部分将介绍您可以通过哪些典型方式利用 Google Play Developer Publishing API 的 Edits 方法来修改应用。
[null,null,["最后更新时间 (UTC):2025-01-27。"],[[["The Google Play Developer Publishing API allows you to make changes to your app, such as updating APKs, store listings, and expansion files, using the \"edits\" functionality where you prepare changes in an edit and deploy them all at once by committing the edit."],["Edits enable managing APKs and their tracks (alpha, beta, staged rollout, production) allowing for controlled releases to testers and users."],["Store listings can be localized with language-specific descriptions, screenshots, and promotional graphics using edits."],["When an edit is committed, changes go live and can take several hours to fully propagate, but before that, edits can be modified further or discarded without affecting the live app."],["Edits functionality does not cover in-app products, standard products, subscriptions, unpublishing apps, or managing legal consents, which require separate API calls or the Play Console."]]],["The Google Play Developer Publishing API uses \"edits\" to manage app changes. You create an edit, which initially mirrors the live app, and then modify it by uploading APKs, assigning them to tracks (alpha, beta, staged rollout), and updating localized store listings. These changes are made to the edit, not the live app. Finally, you commit the edit to make the changes live or abandon the edit to discard them. Only one edit per app can be active and changes through the Play Console discard any existing edits.\n"]]