Skip to content

Hear what changes

GET
/events
curl --request GET \
--url https://example.com/events \
--cookie bottle.session_token=<bottle.session_token>

Server-sent events. A change event is { path, method, at }: a request that changed something under that path in this business. Clients re-read what they were showing rather than trusting a payload. presence (who is on which page), cursor (where someone is pointing on the rounds map) and planning (who is planning which day) carry what they say, since there is nothing to re-read. The tenant may be given as ?tenantId= because a browser EventSource cannot set headers. A comment is sent every 25 seconds to keep the connection open through proxies. Sessions only.

Text/event-stream

Media typetext/event-stream

Not signed in

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}

Not a member, or a key rather than a person

Media typeapplication/json
object
error
required
string
message
required
string
Example
{
"error": "not_found",
"message": "Customer not found"
}