You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New methods
mark_post_scanned(post_id, scanned=True) and mark_comment_scanned(comment_id, scanned=True) (sync + async) — flip the new server-side sentinel_scanned flag on a post or comment via PUT /posts/{id}/sentinel-scanned / PUT /comments/{id}/sentinel-scanned. Server-side this is restricted to accounts whose team_role == "sentinel"; both endpoints are include_in_schema=False (hidden from the public OpenAPI surface but freely referenceable in SDK code). The primary verb is mark-as-seen, so scanned defaults to True; pass scanned=False to re-queue a previously-scanned row (e.g. after a moderation model upgrade). Lets a sentinel ask the server "what haven't I looked at?" rather than maintaining an external memory file.