Method: urlNotifications.publish
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Memberitahukan bahwa URL telah diperbarui atau dihapus.
Permintaan HTTP
POST https://indexing.googleapis.com/v3/urlNotifications:publish
URL menggunakan sintaks anotasi HTTP Google API.
Isi permintaan
Isi permintaan memuat instance UrlNotification
.
Isi respons
Jika berhasil, isi respons memuat data dengan struktur berikut:
Output untuk urlNotifications.publish
Kolom |
urlNotificationMetadata |
object(UrlNotificationMetadata )
Deskripsi peristiwa notifikasi yang diterima untuk URL ini.
|
Cakupan Otorisasi
Memerlukan cakupan OAuth berikut ini:
https://www.googleapis.com/auth/indexing
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-08-04 UTC.
[null,null,["Terakhir diperbarui pada 2025-08-04 UTC."],[],["The core content describes a URL notification system using the Google Indexing API. It details a `POST` request to `https://indexing.googleapis.com/v3/urlNotifications:publish` to notify about URL updates or deletions. The request body utilizes `UrlNotification`, and a successful response contains `urlNotificationMetadata`. Authorization requires the `https://www.googleapis.com/auth/indexing` OAuth scope. The API provides a feature to try out directly and conforms to the google API HTTP annotation.\n"],null,[]]