[Openstack] sort_key and sort_dir for collections based REST APIs

2012-08-20 Thread boden
All, Is anybody here familiar with the 'sort_key' and 'sort_dir' parameters for collection based APIs? Specifically I'm wondering if there are any plans to add support for these 2 params across the board (all collections based REST APIs including the 'primary compute extensions')? Based on my

Re: [Openstack] sort_key and sort_dir for collections based REST APIs

2012-08-20 Thread Brian Waldon
As we can't just add things to our APIs, it's not straight-forward to support them across the board. I think it would make sense to bake these parameters into the next versions of our APIs for collection sorting, but my opinion is definitely biased. Maybe Joe Heck can comment, as he's working

Re: [Openstack] sort_key and sort_dir for collections based REST APIs

2012-08-20 Thread Gabriel Hurley
@lists.launchpad.net [mailto:openstack- bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Brian Waldon Sent: Monday, August 20, 2012 10:06 AM To: boden Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] sort_key and sort_dir for collections based REST APIs

Re: [Openstack] sort_key and sort_dir for collections based REST APIs

2012-08-20 Thread Matt Joyce
@lists.launchpad.net Subject: Re: [Openstack] sort_key and sort_dir for collections based REST APIs As we can't just add things to our APIs, it's not straight-forward to support them across the board. I think it would make sense to bake these parameters into the next versions of our APIs

Re: [Openstack] sort_key and sort_dir for collections based REST APIs

2012-08-20 Thread Joseph Heck
In the V3 Keystone API, we asserted that we wanted filter functions, but didn't go to the length of defining a sort_key and sort_direction in the API spec. ref: https://docs.google.com/document/d/1VP-bTBbwsn6q-rDzuS9CEKb2ubE1VjbWRFd4BkkjoOY/edit?pli=1 -joe On Aug 20, 2012, at 10:05 AM, Brian

Re: [Openstack] sort_key and sort_dir for collections based REST APIs

2012-08-20 Thread Gabriel Hurley
+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Joseph Heck Sent: Monday, August 20, 2012 1:45 PM To: Brian Waldon Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] sort_key and sort_dir for collections based REST APIs In the V3 Keystone API, we asserted that we wanted filter

Re: [Openstack] sort_key and sort_dir for collections based REST APIs

2012-08-20 Thread Dolph Mathews
@lists.launchpad.net [mailto:openstack- bounces+gabriel.hurley=nebula@lists.launchpad.net] On Behalf Of Joseph Heck Sent: Monday, August 20, 2012 1:45 PM To: Brian Waldon Cc: openstack@lists.launchpad.net Subject: Re: [Openstack] sort_key and sort_dir for collections based REST APIs