← Back to team overview

openstack team mailing list archive

Re: Update Container Metadata.

 

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@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Follow ups

References