swift: meta data of all objects in a container
I can list all objects in a container1 with:
http GET https://swift.example.com/v1/AUTH_ID/myfiles?format=json
Which might return:
[
{
hash: "52f5fd7b187da7afa4551bee7a128e73",
last_modified: "2014-05-13T11:32:16.159130",
bytes: 6959708,
name: "header.jpg",
content_type: "image/jpeg"
}, ..
]
I can also set arbitrary meta tags2 against an object:
http POST https://swift.example.com/v1/AUTH_ID/myfiles/header.jpg X-Object-Meta-Author:robin
I can now retrieve this meta data again for the individual object:
http HEAD https://swift.example.com/v1/AUTH_ID/myfiles/header.jpg
HTTP/1.1 200 OK
Content-Length: 6942401
Content-Type: image/jpeg
...
X-Object-Meta-Author: robin
But is there any way to retrieve all objects in the container along with their metadata?
References
1: http://docs.openstack.org/api/openstack-object-storage/1.0/content/GET_showContainerDetails__v1__account___container__storage_container_services.html
2: http://docs.openstack.org/api/openstack-object-storage/1.0/content/POST_updateObjectMeta__v1__account___container___object__storage_object_services.html