#5 ✓closed
Ben Hood

Widen the scope of difference sessions

Reported by Ben Hood | 2010-09-27 10:48:50 UTC | in 0.8

ATM a difference session is scoped on a pair. To makes things easier for the client, the API should accept either:

  • A list of pairs to include
  • A list of pair groups to include
  • A combination of both
  • Or no argument, which means that every known pair will be returned

Comments and changes to this ticket

  • Ben Hood

    Ben Hood 2010-09-27 11:20:00 UTC

    • Milestone set to “0.8”
    • Milestone order changed from “4” to “0”
  • Paul Jones

    Paul Jones 2010-09-27 13:14:14 UTC

    • State changed from “new” to “open”
    • Assigned user set to “Paul Jones”
  • Paul Jones

    Paul Jones 2010-09-27 15:21:52 UTC

    All the underlying plumbing for this is now complete - the Session Manager internally supports this, as do the various caches. All that is necessary to complete is to update the REST API to support sending alternative configurations.

  • Jonathan Lister

    Jonathan Lister 2010-09-29 03:03:58 UTC

    Hi,

    Given that the REST API currently defines this as the way to create a session...

    POST /diffs/pairs/{pair}

    ...it would be useful if the session-creation URL was something generic, such as:

    POST /diffs/sessions/new

    You would then send your parameters: pairs, groups, or nothing for all known pairs. You could keep the first URL for the times when you want to monitor one pair.

  • Paul Jones

    Paul Jones 2010-09-29 06:03:50 UTC

    This actually has been changed already - perhaps we just haven't regenerated the docs. As of yesterdays, sessions are now created with a POST against /diffs/sessions, providing a pairs= query parameter to indicate the pairs you are interested in.

  • Ben Hood

    Ben Hood 2010-09-29 06:26:39 UTC

    The docs have been regenerated and committed subsequent to this API
    change. Jonathan, are you able to compile the site with Jekyll?

  • Paul Jones

    Paul Jones 2010-09-29 08:12:40 UTC

    • State changed from “open” to “closed”

    To get this ticket closed down, for now we'll defer the support for subscribing to groups (pushed to #50). The interface for now will support subscribing to everything (by not specifying pairs) or to a list of pairs.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A Real Time Differencing Tool.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages