نحن الآن على LinkedIn:
تابِعنا على LinkedIn للحصول على أخبار وموارد من "بحث Google" تساعدك في تسهيل العثور على موقعك الإلكتروني.
Method: urlNotifications.publish
يتم استخدام هذه الرسالة للإبلاغ عن أنه قد تم تعديل أحد عناوين URL أو حذفه.
طلب HTTP
POST https://indexing.googleapis.com/v3/urlNotifications:publish
يستخدِم عنوان URL بنية تعليق توضيحي عبر HTTP لواجهة Google API.
نص الطلب
يحتوي نص الطلب على مثال UrlNotification
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، سيحتوي نص الاستجابة على بيانات بالبنية التالية:
مُخرجات urlNotifications.publish
الحقول |
urlNotificationMetadata |
object(UrlNotificationMetadata )
وصف للأحداث الخاصة بالإشعارات التي تم تلقّيها عن عنوان URL هذا
|
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/indexing
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-02-17 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-02-17 (حسب التوقيت العالمي المتفَّق عليه)"],[[["The Indexing API's `urlNotifications.publish` endpoint allows you to notify Google about URL updates or deletions."],["Requests are sent as HTTP POST to `https://indexing.googleapis.com/v3/urlNotifications:publish` with a request body containing a `UrlNotification` object."],["Successful responses provide metadata about the notification events received for the URL in the form of a `UrlNotificationMetadata` object."],["Authorization requires the `https://www.googleapis.com/auth/indexing` OAuth scope."]]],["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"]]