scuba_diving欢迎您于 7 月 23 日至 25 日参加我们在曼谷举办的首届为期 3 天的 SEO 会议,
与我们一起深入探讨!
立即报名参加 2025 年 Search Central Live Deep Dive 活动。
Method: urlNotifications.getMetadata
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-02-17。
[null,null,["最后更新时间 (UTC):2025-02-17。"],[[["Retrieves metadata about web documents previously notified to the Indexing API."],["Uses a `GET` request with the target URL as a query parameter."],["Requires an empty request body and returns `UrlNotificationMetadata` upon success."],["Needs authorization with the `https://www.googleapis.com/auth/indexing` scope."],["Provides a \"Try it!\" section for practical exploration."]]],["The core content describes how to retrieve metadata about a web document via the Indexing API. A `GET` request is sent to `https://indexing.googleapis.com/v3/urlNotifications/metadata`. The `url` parameter, representing the queried URL, is required. The request body must be empty. A successful response contains an instance of `UrlNotificationMetadata`. This operation is limited to URLs previously seen in successful Indexing API notifications and requires the `https://www.googleapis.com/auth/indexing` OAuth scope.\n"]]