[Openstack] sort_key and sort_dir for collections based REST APIs

Gabriel Hurley Gabriel.Hurley at nebula.com
Mon Aug 20 21:33:33 UTC 2012


Given that the v3 API didn't get implemented in Folsom that gives us a perfect opportunity to talk about this stuff at the Grizzly summit! ;-)

    - Gabriel

> -----Original Message-----
> From: openstack-bounces+gabriel.hurley=nebula.com at lists.launchpad.net
> [mailto:openstack-
> bounces+gabriel.hurley=nebula.com at lists.launchpad.net] On Behalf Of
> Joseph Heck
> Sent: Monday, August 20, 2012 1:45 PM
> To: Brian Waldon
> Cc: openstack at 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 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 Waldon <bcwaldon at gmail.com> wrote:
> > 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 on the v2 Identity API.
> >
> > Brian
> >
> >
> > On Aug 20, 2012, at 11:43 AM, boden wrote:
> >
> >> 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
> >> google-ability it appears they are only on the glance image APIs
> >> (http://docs.openstack.org/developer/glance/glanceapi.html ) at the
> >> present moment, so looking for more clarity on this topic
> >> intermediate to longer term.
> >>
> >> Thanks much
> >>
> >>
> >>
> >> _______________________________________________
> >> Mailing list: https://launchpad.net/~openstack
> >> Post to     : openstack at lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~openstack
> >> More help   : https://help.launchpad.net/ListHelp
> >
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp






More information about the Openstack mailing list