Who is online
GET/wordplus/realtime/online
With ids, whether each of those users is online, and when the others were last seen. Without it, a page of
the ids online now. Either way, how many are online across your app.
A user is online while any page or app of theirs is connected, and offline 10 seconds after the last one goes.
In the packages: realtime.online.states( ids ), .has( id ), .count() and .list( { cursor, limit } ).
Request
Responses
- 200
- 400
- 401
- 403
Who is online.
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.