[Openstack] Update Container Metadata.

John Dickinson me at not.mn
Tue Nov 15 00:37:37 UTC 2011


Updating existing container metadata with a POST is entirely supported  and intended behavior. (The same also applies to adding/updating metadata on an account.)

--John


On Nov 14, 2011, at 8:10 PM, easco wrote:

> Anne,
> 
> Thank you for your help, and you're correct, that is the case I am pursuing. 
> 
> In both sets of documents it is clear to me that one can add metadata to a Container when it is created.  
> 
> However, the documentation does not seem to mention anything about changing the metadata on a Container after it has been created.
> 
> Empirically it appears that I can do it, an experiment confirms that I can update the metadata on a container using a POST request to the container's URL, but that behavior is not documented so I wanted to know if I should rely on it working in the future. :-)
> 
> Thanks for looking though!
> 
> Scott
> 
> On Nov 14, 2011, at 01:56 PM, Anne Gentle <anne at openstack.org> wrote:
> 
>> Woops, the chapter isn't missing, nor is the information. Scott, you'll find it in http://docs.openstack.org/api/openstack-object-storage/1.0/content/create-container.html - you can assign metadata when you create the container. 
>> 
>> I'll let one of the Swift devs answer about the ability to update container metadata (which is I think the use case you're pursuing). 
>  
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20111114/6dba11c5/attachment.bin>


More information about the Openstack mailing list