Method: urlNotifications.publish
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Informiert darüber, dass eine URL aktualisiert oder gelöscht wurde.
HTTP-Anfrage
POST https://indexing.googleapis.com/v3/urlNotifications:publish
Für die URL wird die Syntax von Google API-HTTP-Annotationen verwendet.
Anfragetext
Der Anfragetext enthält eine Instanz von UrlNotification
.
Antworttext
Wenn die Anfrage erfolgreich ist, enthält der Antwort-Body Daten mit der folgenden Struktur:
Ausgabe für urlNotifications.publish
Felder |
urlNotificationMetadata |
object(UrlNotificationMetadata )
Beschreibung der für diese URL empfangenen Benachrichtigungsereignisse
|
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/indexing
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-08-04 (UTC).
[null,null,["Zuletzt aktualisiert: 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,[]]