Method: urlNotifications.publish
Stay organized with collections
Save and categorize content based on your preferences.
Notifies that a URL has been updated or deleted.
HTTP request
POST https://indexing.googleapis.com/v3/urlNotifications:publish
The URL uses Google API HTTP annotation syntax.
Request body
The request body contains an instance of UrlNotification
.
Response body
If successful, the response body contains data with the following structure:
Output for urlNotifications.publish
Fields |
urlNotificationMetadata |
object(UrlNotificationMetadata )
Description of the notification events received for this URL.
|
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/indexing
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[null,null,["Last updated 2024-10-31 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,[]]