Ask Your Question
0

API for Update a Container

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

Hey,

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?

Thanks,

M.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

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

Thanks.

edit flag offensive delete link more
0

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 33 times

Last updated: Jan 12 '13