social.colibri.beta.notification.clear

Clears the requesting user's inbox up to a point in time. Every notification raised at or before it is marked seen and left out of listNotifications, getUnreadCount and getUnseen from then on.

Repository @colibri.social did:plc:mprdjqjluoswa7awzggaggj3 namespace authority
Details · procedure
Kindprocedure
Authoritynotification.beta.colibri.social
Indexed

Procedure

procedure · POST

Input

application/json

clearedAt

requiredstring · datetime

Notifications raised at or before this time are cleared. A time in the future is treated as now, and a time before an earlier clear leaves that clear in place.

Output

application/json

clearedAt

requiredstring · datetime

The point the inbox is now cleared up to.

unread

requiredinteger

Number of unread notifications remaining.

Errors

AuthRequired

The request has no valid service auth.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.