Widen the scope of difference sessions
Reported by Ben Hood | September 27th, 2010 @ 10:48 AM | 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 September 27th, 2010 @ 11:20 AM
- Milestone set to 0.8
- Milestone order changed from 4 to 0
-

Paul Jones September 27th, 2010 @ 01:14 PM
- State changed from new to open
- Assigned user set to Paul Jones
-

Paul Jones September 27th, 2010 @ 03:21 PM
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 September 29th, 2010 @ 03:03 AM
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 September 29th, 2010 @ 06:03 AM
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 September 29th, 2010 @ 06:26 AM
The docs have been regenerated and committed subsequent to this API
change. Jonathan, are you able to compile the site with Jekyll? -

Paul Jones September 29th, 2010 @ 08:12 AM
- 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.
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.
People watching this ticket
Referenced by
-
24
Create heatmap from all outstanding differences
See #5
for progress on providing a new URL that allows yo...
-
24
Create heatmap from all outstanding differences
This is done for the static data available on load (excep...
-
46
Pull real outstanding differences from server, not test data
I think there is some confusion surrounding why you think...
-
50
Support subscription by group
As discussed in #5, one nice-to-have feature would be sup...
-
46
Pull real outstanding differences from server, not test data
Given the fact that #5 has been closed down, I think we n...