Método: urlNotifications.publish
Con este método, se notifica que se ha actualizado o eliminado una URL.
Solicitud HTTP
POST https://indexing.googleapis.com/v3/urlNotifications:publish
La URL utiliza la sintaxis de anotación HTTP de las API de Google.
Cuerpo de la solicitud
En el cuerpo de la solicitud se incluye una instancia de UrlNotification
.
Cuerpo de la respuesta
Si la solicitud se realiza correctamente, en el cuerpo de la respuesta se proporcionan datos con la siguiente estructura:
Resultados del método urlNotifications.publish
Campos |
urlNotificationMetadata |
object(UrlNotificationMetadata )
Descripción de los eventos de notificación sobre esta URL que se han recibido.
|
Permisos de autorización
Se necesita el siguiente permiso de OAuth:
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 2022-03-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Translation issue"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problema de muestras o código"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]