API for Update a Container

asked 2013-01-07 08:54:51 -0600

maty-grosz gravatar image


I don't find in the Swift API documentation an API for updating an exsited container (for example - updating its name). Is there a way to do an update operation using an API call?



edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-01-12 10:46:30 -0600

maty-grosz gravatar image


edit flag offensive delete link more

answered 2013-01-07 15:42:29 -0600

cthier gravatar image

It isn't possible to rename a container in Swift. You can update container metadata with a POST. I just noticed that it doesn't look like the openstack documentation documents the metadata update, but docs for Rackspace Cloud Files (which uses swift) explain it: http://docs.rackspace.com/files/api/v1/cf-devguide/content/Update_Container_Metadata-d1e1900.html (http://docs.rackspace.com/files/api/v...)

I have filed a bug here for the docs: https://bugs.launchpad.net/openstack-manuals/+bug/1096925 (https://bugs.launchpad.net/openstack-...)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-01-07 08:54:51 -0600

Seen: 69 times

Last updated: Jan 12 '13