← Back to team overview

openstack team mailing list archive

Re: Metadata in listing

 

I looked into the source and the XML/JSON output is hardcoded - so I guess there is no chance for getting metadata in listing other than hacking the source ;)


Med venlig hilsen / Best regards
Morten Møller Riis
mmr@xxxxxxxxxxx

Gigahost
Gammeltorv 8, 2.
1457 København K




On Dec 12, 2012, at 2:01 PM, Morten Møller Riis <mmr@xxxxxxxxxxx> wrote:

> Hi Guys
> 
> I was wondering if there is any possibility of getting metadata output in the listing when you issue a GET on a container.
> 
> At the moment it returns eg.:
> 
> <object>
> <name>10620_1b8b2553c6eb9987ff647d69e3181f9eeb3a43ef.jpg</name>
> <hash>e453fcd7ff03e9e0e460555e875b1da1</hash>
> <bytes>9272</bytes>
> <content_type>image/jpeg</content_type>
> <last_modified>2012-09-20T23:27:34.473230</last_modified>
> </object>
> 
> If I have X-Object-Meta-Something on an object it would be nice to see it here as well. I know I can get it by doing a HEAD request. But this gets heavy for many objects.
> 
> Any suggestions?
> 
> Best regards
> Morten Møller Riis
> 
> 
> 
> 
> 
> 
> Med venlig hilsen / Best regards
> Morten Møller Riis
> mmr@xxxxxxxxxxx
> 
> Gigahost
> Gammeltorv 8, 2.
> 1457 København K
> 
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


References