GET Service operation of QueryIO server will fetch list of all the buckets in root directory.
GET/queryio/
HTTP/1.1 Host: QueryIO.com authorization:<Token>
The GET operation in QueryIO Server uses following response elements:
Name | Description | Type |
---|---|---|
Bucket
|
Container for bucket information. |
Container |
Buckets
|
Container for one or more buckets. |
Container |
CreationDate
|
Date the bucket was created. |
Date |
DisplayName
|
Name of Object's owner. |
String |
ID
|
Bucket owner's user ID. |
String |
ListAllMyBucketsResult
|
Container for response. |
Container |
Name
|
Bucket's name. |
String |
Owner
|
Container for bucket owner information. |
Container |
The following request will fetch objects from NewBucket.
GET /queryio/ HTTP/1.1 Host: QueryIO authorization: iffo6l9hel2hfmbj2384joljgh9mqga58gb9if9593ucli9ke5s2e3854shhcmmm
<?xml version="1.0" encoding="UTF-8"?> <ListAllMyBucketsResult> <Owner> <ID>bcaf1ffd86f461ca5fb16fd081034fquotes</Name> <CreationDate>2012-09-27 12:21:30</CreationDate> </Bucket> <Bucket> <Name>samples</Name> <CreationDate>2012-09-27 12:21:30</CreationDate> </Bucket> </Buckets> </ListAllMyBucketsResult>