Send events in a batch
POST/wordplus/realtime/emit/batch
Sends up to 100 events in one request, each as Send an event takes it. The answer has the kept ids of each, in their order.
The packages send each event of realtime.batch( events ) as its own request instead, so their batch has no
limit of 100.
Request
Responses
- 200
- 400
- 401
- 403
- 413
Sent. The ids of the events kept, by room, for each event in its order.
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.
too_large: data over 1 MB. too_many: over 1,000 rooms or users in an event, or 100 events in a batch.