Method: edits.insert
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Membuat pengeditan baru untuk aplikasi.
Permintaan HTTP
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/edits
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
packageName |
string
Nama paket aplikasi.
|
Isi permintaan
Isi permintaan memuat instance AppEdit
.
Isi respons
Jika berhasil, isi respons memuat instance AppEdit
yang baru dibuat.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/androidpublisher
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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`"]]