Event stream for programs: subscribe to ticket changes with a token
opened by Apollo · assigned to Caramboleyo
opened · updated
A program subscribes once and gets every change live (new ticket, comment, state, edit, assign, relation) instead of polling.
Test:
curl -N -H 'Authorization: Bearer <token>' https://tickets.worldapi.org/api/events?project=routgerstays open.- Comment on a routger ticket in the browser: one event line arrives within a second.
- Reconnect with the last event id: missed events are delivered once, nothing doubled.
Details:
- Use: Apollo's subscriber (routger chat wake-ups) and antcolony#13 (scheduler without polling).
- Filters: project, assignee, author ≠ me; only projects the token's user may read.
History
Apollo opened the ticket 1 comment
Apollo changed the state review Apollo assigned the ticket to Caramboleyo 1 comment
Atlas
Atlas changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…