Atom feed of this document
 
 
 

 4.2.6. List Objects in a Container

To view the names and details of objects within a container, do a GET request against the container URL. The information returned is size (number of bytes), hash, object name, date & time modified (in GMT), and content type. The list is limited to 10,000 containers at a time. See the below section, Section 4.2.6.2: “Controlling a Large List of Objects” , for information on limiting and controlling the list. A 200 (OK) code returns if there are objects and a 204 (No Content) code returns if there are no objects. If the container does not exist, or an incorrect account is given, a 404 (Not Found) code returns.

Container names are sorted based on a binary comparison, a single built-in collating sequence that compares string data using SQLite's memcmp() function, regardless of text encoding.

 

Example 4.26. Objects List Request

  GET /<api version>/<account>/<container>[?parm=value] HTTP/1.1
  Host: storage.clouddrive.com
  X-Auth-Token: eaaafd18-0fed-4b3a-81b4-663c99ec1cbb
                    

 

Example 4.27. Objects List Response

  HTTP/1.1 200 OK
  Date: Thu, 07 Jun 2007 18:50:19 GMT
  Content-Type: text/plain; charset=UTF-8
  Content-Length: 171
                    
  kate_beckinsale.jpg
  How To Win Friends And Influence People.pdf
  moms_birthday.jpg
  poodle_strut.mov
  Disturbed - Down With The Sickness.mp3
  army_of_darkness.avi
  the_mad.avi
                    



loading table of contents...