Method: edits.insert
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Tạo nội dung chỉnh sửa mới cho ứng dụng.
Yêu cầu HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số đường dẫn
Các tham số |
packageName |
string
Tên gói của ứng dụng.
|
Nội dung yêu cầu
Nội dung yêu cầu chứa một bản sao của AppEdit
.
Nội dung phản hồi
Nếu thành công, nội dung phản hồi sẽ chứa một thực thể mới được tạo của AppEdit
.
Phạm vi uỷ quyền
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidpublisher
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[[["\u003cp\u003eCreates a new edit for an Android app using an HTTP POST request.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003epackageName\u003c/code\u003e as a path parameter and an \u003ccode\u003eAppEdit\u003c/code\u003e object in the request body.\u003c/p\u003e\n"],["\u003cp\u003eReturns a newly created \u003ccode\u003eAppEdit\u003c/code\u003e object in the response if successful.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/androidpublisher\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["The core content describes the process of creating a new edit for an Android app using the Android Publisher API. This involves sending a `POST` request to the specified URL: `https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits`, using gRPC Transcoding syntax. The `packageName` must be included as a path parameter. The request body contains `AppEdit` data, and a successful response returns a new `AppEdit` instance. Authorization requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope.\n"],null,["# Method: edits.insert\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nCreates a new edit for an app.\n\n### HTTP request\n\n`POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|---------------|-----------------------------------|\n| `packageName` | `string` Package name of the app. |\n\n### Request body\n\nThe request body contains an instance of [AppEdit](/android-publisher/api-ref/rest/v3/edits#AppEdit).\n\n### Response body\n\nIf successful, the response body contains a newly created instance of [AppEdit](/android-publisher/api-ref/rest/v3/edits#AppEdit).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidpublisher`"]]