API for Update a Container

Asked by Maty Grosz

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.

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Chuck Thier (cthier) said :
#1

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

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

Revision history for this message
Maty Grosz (maty-grosz) said :
#2

Thanks.

Can you help with this problem?

Provide an answer of your own, or ask Maty Grosz for more information if necessary.

To post a message you must log in.