openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #15982
Re: sort_key and sort_dir for collections based REST APIs
+10
On Mon, Aug 20, 2012 at 11:42 AM, Gabriel Hurley
<Gabriel.Hurley@xxxxxxxxxx>wrote:
> For two summits running I've been advocating the need for a common
> standard of functionality for all OpenStack APIs (things like sorting, bulk
> operations, filtering, pagination, etc.). I intend to push on the issue
> even harder this time around at the Grizzly summit (I'm going to propose an
> entire working session on it).
>
> It's one of those problems that simply *cannot* be solved one project at a
> time. The community needs to agree, and then the projects need to implement
> the solutions over time.
>
> - Gabriel
>
> > -----Original Message-----
> > From: openstack-bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx
> > [mailto:openstack-
> > bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> > Brian Waldon
> > Sent: Monday, August 20, 2012 10:06 AM
> > To: boden
> > Cc: openstack@xxxxxxxxxxxxxxxxxxx
> > 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 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@xxxxxxxxxxxxxxxxxxx
> > > Unsubscribe : https://launchpad.net/~openstack
> > > More help : https://help.launchpad.net/ListHelp
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~openstack
> > Post to : openstack@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~openstack
> > More help : https://help.launchpad.net/ListHelp
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help : https://help.launchpad.net/ListHelp
>
References