راقبالتوثيقاتEnglish
راقبالتوثيقاتEnglish

الاشتراكات

الرابطان اللذان يؤكدان الاشتراك وينهيانه.

لكل اشتراك رمزه الخاص في رابطي التأكيد وإلغاء الاشتراك. لا يفعل فتح الرابط بطلب GET إلا أن يقود إلى صفحة الاشتراك، وفيها زر يرسل طلب POST الذي ينفّذ الإجراء، فلا يؤكد ماسح البريد الذي يتبع الروابط اشتراك أحد ولا يلغيه.

التأكيد

GET/subscriptions/{token}/confirm

Lead to the subscription's page

Leads to the subscription's page, where the confirm button is; a GET changes nothing, so a mail scanner that opens links acts on none.

المعلَمات

الاسمالموضعالنوعالوصف
tokenالمسارstring يطابق ^[A-Za-z0-9_-]{22}$The secret in the URL Raaqeb gave out: a heartbeat monitor's, shown in its Heartbeat URL panel, or a subscription's, in the links its subscriber was sent.

الاستجابات

رمز الحالةالإجابة
303To the subscription's page, which says where the subscription stands. الترويسات: location.
POST/subscriptions/{token}/confirm

Confirm a subscription

Confirms a pending subscription while its link is younger than 48 hours.

المعلَمات

الاسمالموضعالنوعالوصف
tokenالمسارstring يطابق ^[A-Za-z0-9_-]{22}$The secret in the URL Raaqeb gave out: a heartbeat monitor's, shown in its Heartbeat URL panel, or a subscription's, in the links its subscriber was sent.

الاستجابات

رمز الحالةالإجابة
303To the subscription's page, which says where the subscription stands. الترويسات: location.
404No subscription has this token. المحتوى: text/plain Not Found.
503The database is not open or did not answer. المحتوى: text/plain Service Unavailable.

إلغاء الاشتراك

GET/subscriptions/{token}/unsubscribe

Lead to the subscription's page

Leads to the subscription's page, where the unsubscribe button is; a GET changes nothing, so a mail scanner that opens links acts on none.

المعلَمات

الاسمالموضعالنوعالوصف
tokenالمسارstring يطابق ^[A-Za-z0-9_-]{22}$The secret in the URL Raaqeb gave out: a heartbeat monitor's, shown in its Heartbeat URL panel, or a subscription's, in the links its subscriber was sent.

الاستجابات

رمز الحالةالإجابة
303To the subscription's page, which says where the subscription stands. الترويسات: location.
POST/subscriptions/{token}/unsubscribe

Unsubscribe

Unsubscribes, whatever the subscription's state; an email client's one-click unsubscribe (RFC 8058) posts here with List-Unsubscribe=One-Click.

المعلَمات

الاسمالموضعالنوعالوصف
tokenالمسارstring يطابق ^[A-Za-z0-9_-]{22}$The secret in the URL Raaqeb gave out: a heartbeat monitor's, shown in its Heartbeat URL panel, or a subscription's, in the links its subscriber was sent.

الاستجابات

رمز الحالةالإجابة
200An email client's one-click unsubscribe (RFC 8058), which follows no redirect. المحتوى: text/plain Unsubscribed.
303To the subscription's page, which says where the subscription stands. الترويسات: location.
404No subscription has this token. المحتوى: text/plain Not Found.
503The database is not open or did not answer. المحتوى: text/plain Service Unavailable.

في هذه الصفحة