方法:urlNotifications.getMetadata

取得網路文件的相關中繼資料。這個方法「只能」用於查詢先前在正常 Indexing API 通知中顯示的網址,包含透過此 API 接收到的最新 UrlNotification

HTTP 要求

GET https://indexing.googleapis.com/v3/urlNotifications/metadata

這個網址使用 Google API HTTP 註解語法。

查詢參數

參數
url

string

受到查詢的網址。

要求主體

要求主體必須為空白。

回應主體

如果成功,回應主體會包含 UrlNotificationMetadata 的執行例項。

授權範圍

需要下列 OAuth 範圍:

  • https://www.googleapis.com/auth/indexing

試試看!