Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Zend_Service_Rackspace_Files getObjects returns up to 10000 objects #22

Closed
zfbot opened this issue Apr 5, 2013 · 1 comment
Closed

Comments

@zfbot
Copy link

zfbot commented Apr 5, 2013

Jira Information

Original Issue:ZF-12434
Issue Type:Bug
Reporter:luigif
Created:10/02/12
Assignee:Matthew Weier O'Phinney
Components:

Description

{{getObjects}} by default only returns a list of up to 10000 items.

The Rackspace docs say :

"The system will return a maximum of 10,000 Object names per request. To retrieve subsequent Object names, another request must be made with a 'marker' parameter. The marker indicates where the last list left off and the system will return Object names greater than this marker, up to 10,000 again. Note that the 'marker' value should be URL encoded prior to sending the HTTP request. If 10,000 is larger than desired, a 'limit' parameter may be given. If the number of Object names returned equals the limit given (or 10,000 if no limit is given), it can be assumed there are more Object names to be listed. If the container name list is exactly divisible by the limit, the last request will simply have no content."

If we want {{getObjects}} to return the complete list we need to play with the {{marker}} parameter but still a maximum of 10000 objects is returned.

I would suggest to specify in the documentation for {{getObjects}} that a list with a maximum of 10000 objects is returned.

@zfbot
Copy link
Author

zfbot commented Apr 5, 2013

This issue was ported from the ZF2 Jira Issue Tracker at
http://framework.zend.com/issues/browse/ZF-12434

Known GitHub users mentioned in the original message or comment:
@luigif

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant