Reverse Object Listing

Registered by Kevin McDonald

Goal: Enable the ability to paginate backwards through a container listing. It's possible using the current API to paginate going forward using limit and marker. It's not possible to go the other way using end_marker and limit because the limit applies to the beginning of the listing. Another use-case for a reverse listing is getting a listing of the latest objects in a container with date-sorted log files. I propose we introduce a 'reverse' parameter to the container GET call that will query the container sorted in descending order.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Kevin McDonald
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Solution: Add a reverse parameter to the container call: v1/{account}/{container}

reverse (Optional) - Flag that reverses the order of the object listing, either true or false.

Gerrit topic: https://review.openstack.org/#q,topic:bp/reverse-object-listing,n,z

Addressed by: https://review.openstack.org/15985
    Initial Implementation of reverse-object-listing

Addressed by: https://review.openstack.org/120709
    Add container reverse listings and basic ordering

Gerrit topic: https://review.openstack.org/#q,topic:reverse_listing,n,z

Gerrit topic: https://review.openstack.org/#q,topic:reverse-versions,n,z

Addressed by: https://review.openstack.org/249262
    Add more functional tests for reverse listings

Addressed by: https://review.openstack.org/248924
    Reverse-listings follow-up

Gerrit topic: https://review.openstack.org/#q,topic:bug/1516579,n,z

Addressed by: https://review.openstack.org/249975
    Merge branch 'master' into feature/crypto

Gerrit topic: https://review.openstack.org/#q,topic:bug/1529321,n,z

Addressed by: https://review.openstack.org/264517
    Merge branch 'master' into feature/hummingbird

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.