Page Summary
-
The Indexing API's
urlNotifications.publishendpoint allows you to notify Google about URL updates or deletions. -
Requests are sent as HTTP POST to
https://indexing.googleapis.com/v3/urlNotifications:publishwith a request body containing aUrlNotificationobject. -
Successful responses provide metadata about the notification events received for the URL in the form of a
UrlNotificationMetadataobject. -
Authorization requires the
https://www.googleapis.com/auth/indexingOAuth scope.
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
| JSON representation | |
|---|---|
{
"urlNotificationMetadata": {
object( |
|
| Fields | |
|---|---|
urlNotificationMetadata |
Description of the notification events received for this URL. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/indexing