Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-08-10 Thread Everett Toews
On Aug 9, 2015, at 11:03 PM, hao wang sxmatch1...@gmail.commailto:sxmatch1...@gmail.com wrote: Hi, stackers Since now we have merged filtering guideline[1], is that said we should implement this feature according this guideline? like this: GET /app/items?f_updated_at=gte:some_timestamp Do

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-08-10 Thread hao wang
Haha, thanks Everett, you're totally right. Anyway, with or without f_, I want to ensure we will use updated_at =gte:some_timestamp like guideline said, or use changes-since= some_timestamp. Since I think this function it's useful to query resources and we should introduce it into projects(some

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-08-10 Thread Kirill Zaitsev
GET /app/items?f_updated_at=gte:some_timestamp I guess this should only return existing entries in a collection, while the proposition was to add deleted entries to the result too (if we use changes_since). More like a delta, than simple filtering. --  Kirill Zaitsev Murano team Software

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-08-09 Thread hao wang
Hi, stackers Since now we have merged filtering guideline[1], is that said we should implement this feature according this guideline? like this: *GET /app/items?f_updated_at=gte:some_timestamp* Do we have reached a consensus about this? 2015-06-19 17:07 GMT+08:00 Chris Dent chd...@redhat.com:

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-06-22 Thread Brant Knudson
Keystone also has a resource that provides changes since[1], the query parameter used is since. [1] http://specs.openstack.org/openstack/keystone-specs/api/v3/identity-api-v3-os-revoke-ext.html#list-revocation-events Ciao, Brant On Fri, Jun 19, 2015 at 3:25 PM, Sean Dague s...@dague.net

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-06-19 Thread Devdatta Kulkarni
From: Chris Dent chd...@redhat.com Sent: Friday, June 19, 2015 4:07 AM To: OpenStack-dev@lists.openstack.org Subject: [openstack-dev] [api] [all] To changes-since or not to changes-since There's an open question in the API-WG on whether to formalize

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-06-19 Thread Ian Cordasco
On 6/19/15, 14:39, Ian Cordasco ian.corda...@rackspace.com wrote: On 6/19/15, 14:26, Kevin L. Mitchell kevin.mitch...@rackspace.com wrote: On Fri, 2015-06-19 at 10:07 +0100, Chris Dent wrote: * Are there additional relevant pros and cons for the two proposals? * Are there additional

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-06-19 Thread Sean Dague
On 06/19/2015 04:03 PM, Ian Cordasco wrote: On 6/19/15, 14:39, Ian Cordasco ian.corda...@rackspace.com wrote: On 6/19/15, 14:26, Kevin L. Mitchell kevin.mitch...@rackspace.com wrote: On Fri, 2015-06-19 at 10:07 +0100, Chris Dent wrote: * Are there additional relevant pros and cons

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-06-19 Thread Sean Dague
On 06/19/2015 05:07 AM, Chris Dent wrote: There's an open question in the API-WG on whether to formalize or otherwise enshrine the concept of a changes-since query parameter on collection oriented resources across the projects. The original source of this concept is from Nova's API:

[openstack-dev] [api] [all] To changes-since or not to changes-since

2015-06-19 Thread Chris Dent
There's an open question in the API-WG on whether to formalize or otherwise enshrine the concept of a changes-since query parameter on collection oriented resources across the projects. The original source of this concept is from Nova's API:

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-06-19 Thread Kevin L. Mitchell
On Fri, 2015-06-19 at 10:07 +0100, Chris Dent wrote: * Are there additional relevant pros and cons for the two proposals? * Are there additional proposals which can address the shortcomings in either? On the latter question, would using the If-Modified-Since header[1] make any sense as a

Re: [openstack-dev] [api] [all] To changes-since or not to changes-since

2015-06-19 Thread Ian Cordasco
On 6/19/15, 14:26, Kevin L. Mitchell kevin.mitch...@rackspace.com wrote: On Fri, 2015-06-19 at 10:07 +0100, Chris Dent wrote: * Are there additional relevant pros and cons for the two proposals? * Are there additional proposals which can address the shortcomings in either? On the latter