Halaman: update
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memerlukan otorisasi
Memperbarui halaman.
Coba sekarang.
Permintaan
Permintaan HTTP
PUT https://www.googleapis.com/blogger/v3/blogs/blogId/pages/pageId
Parameter
Nama parameter |
Nilai |
Deskripsi |
Parameter yang diperlukan |
blogId |
string |
ID Blog.
|
pageId |
string |
ID Halaman.
|
Otorisasi
Permintaan ini memerlukan otorisasi dengan setidaknya salah satu cakupan berikut (baca selengkapnya tentang autentikasi dan otorisasi).
Cakupan |
https://www.googleapis.com/auth/blogger |
Isi permintaan
Dalam isi permintaan, berikan resource Halaman.
Respons
Jika berhasil, metode ini akan menampilkan resource Halaman dalam isi respons.
Cobalah!
Gunakan API Explorer di bawah untuk memanggil metode ini pada data langsung dan melihat responsnya.
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-28 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-28 UTC."],[[["\u003cp\u003eUpdate a page's content using the \u003ccode\u003ePUT\u003c/code\u003e method and providing the \u003ccode\u003eblogId\u003c/code\u003e and \u003ccode\u003epageId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization is required using the \u003ccode\u003ehttps://www.googleapis.com/auth/blogger\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a Pages resource, outlining the updated page content.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will return the updated Pages resource.\u003c/p\u003e\n"]]],[],null,["# Pages: update\n\n**Requires [authorization](#auth)**\n\nUpdate a page.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPUT https://www.googleapis.com/blogger/v3/blogs/blogId/pages/pageId\n```\n\n### Parameters\n\n| Parameter name | Value | Description |\n|----------------|----------|---------------------|\n| **Required parameters** |||\n| `blogId` | `string` | The ID of the Blog. |\n| `pageId` | `string` | The ID of the Page. |\n\n### Authorization\n\nThis request requires authorization with at least one of the following scopes ([read more about authentication and authorization](/blogger/docs/3.0/using#auth)).\n\n| Scope |\n|-------------------------------------------|\n| `https://www.googleapis.com/auth/blogger` |\n\n### Request body\n\nIn the request body, supply a [Pages resource](/blogger/docs/3.0/reference/pages#resource).\n\nResponse\n--------\n\nIf successful, this method returns a [Pages resource](/blogger/docs/3.0/reference/pages#resource) in the response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response."]]