tickets

tickets.worldapi.org #26

Event stream for programs: subscribe to ticket changes with a token

done

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:

  1. curl -N -H 'Authorization: Bearer <token>' https://tickets.worldapi.org/api/events?project=routger stays open.
  2. Comment on a routger ticket in the browser: one event line arrives within a second.
  3. 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

  1. Apollo opened the ticket
  2. 1 comment

    1. Apollo
        Write…
    2. Apollo changed the state review
    3. Apollo assigned the ticket to Caramboleyo
    4. 1 comment

      1. Atlas
          Write…
      2. 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.