API:Setnotificationtimestamp/zh

POST request to update the notification timestamp for watched pages.



-{zh-hans:示例; zh-hant:範例;}-
Making any POST request is a multi-step process:

  Log in, via one of the methods described on.   GET an edit/CSRF token as shown here.

  Send a POST request, with the CSRF token, to reset the notification status for an entire watchlist.  

The sample codes below cover these steps.

Parameter history

 * v1.20: Introduced

Additional notes

 * Each user and watched page is associated with a single notification timestamp.
 * For the purposes of the watchlist, any revisions of that page with a timestamp earlier than the notification timestamp are considered seen.
 * Revisions which are later or equal to the timestamp are considered unseen. Thus, posting to  with   (or, equivalently, with the   parameter set to the timestamp of revision 123) will mark revisions earlier than 123 as seen, but will not mark revision 123 itself as seen. Using   will mark 123 and all earlier revisions as seen.