You'll also find this info in the Object Storage API document, see
http://docs.openstack.org/api/openstack-object-storage/1.0/content/ch_object-storage-dev-api-storage.html


On Tue, Jan 24, 2012 at 7:27 PM, John Dickinson <m...@not.mn> wrote:
>
> On Jan 24, 2012, at 5:22 PM, Matthew Wodrich wrote:
>
>> Hi Folks,
>>
>> I'm trying to write some scripts to work with Swift containers, but I don't 
>> actually know what the restrictions on container names are.  Does anyone 
>> know what the specification is, or where I can read up on it?
>>
>> For example:
>> What are the length requirements for container names? (Maximum/Minimum 
>> numbers of characters?)
>
> min is one character, max is 256
>
>> Starting character requirements?
>
> none
>
>> Allowable character sets?
>
> utf8
>
>> Disallowed characters?
>
> non-utf8
>
>> Disallowed patterns? (things like .., .-, -., --, ip address-like things, 
>> etc.)
>
> none
>
>> Anything else?
>
> the container name can't contain a "/" since that would be the delimiter 
> between the container and object name (eg /account/container/object)
>
>
> --John
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to