Ask a room's rule again
POST/wordplus/realtime/rooms/:name/recheck
For an answer that changed, such as a member made a reader. Takes the connections of a user out of this room alone
and tells them to ask your server for a new token, whose answer says what they get now. Tokens signed for them
before are refused as expired, so a page holding one asks too. With everyone, it does this to everyone in the
room, visitors too. The others see them leave and join again.
In the packages: realtime.room( name ).recheck( user ), realtime.room( name ).recheckEveryone().
Request
Responses
- 200
- 400
- 401
- 403
Done.
bad_request, bad_room: the request is not one the API takes. reserved: an event name kept for the room itself.
missing_signature, stale_signature (a clock off by more than 5 minutes), unknown_site, bad_signature (a wrong secret, or a body or path other than the one signed).
not_included: your plan does not include it.