[Openstack] sort_key and sort_dir for collections based REST APIs

Joseph Heck heckj at mac.com
Mon Aug 20 20:45:25 UTC 2012


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
> 





More information about the Openstack mailing list