Table of Contents |
---|
minLevel | 1 |
---|
maxLevel | 2 |
---|
outline | false |
---|
type | list |
---|
printable | false |
---|
|
Follow these rules for naming the domain, bucket, and named objects created for storage in Swarm.
Info |
---|
SlashesSwarm handles slashes this way (v11.1): Leading slashes (/foo ) are silently removed in all cases. Trailing slashes (foo/ ) are silently removed for buckets, but they cause 404 Page Not Found errors for domains. Trailing slashes (foo/bar// ) are preserved for object names because they are valid.
|
Type | Reference | Rules and Notes | Examples |
---|
Tenant | RFC 1034 | Applies to Gateway only. A tenant must follow the naming rules of a domain. |
|
---|
Domain | RFC 1034 | For maximum compatibility, verify the domains are valid DNS names that resolve in your network. A domain name must Be a 7-bit ASCII byte sequence. Be case-insensitive. Begin with an alphanumeric character. Use alphanumeric characters, underscore (_), period (.), and hyphen (-). Not have adjacent or final hyphens or periods (--, .., -., .-). Not be an IPv4 or IPv6 IP address. (S3 compatibility) Not be longer than 253 characters.
| Valid: |
---|
my-cluster.example.com
my_cluster.example.com
Invalid: |
domain
cluster_example_com
|
Bucket | RFC 1034 | A bucket name (which is only used in the path) must Be unique within the domain. Be case-sensitive. Be a valid URL-encoded, UTF-8 byte sequence. Not be a UUID (32 hexadecimal characters). Not exceed 8000 characters (
|
---|
larger |
|
Named object | RFC 3986 | An object name must | Valid: |
---|
Accounting/Customer23-03/15 |
...
Note
While you may use non-ASCII characters (such as "résumé.doc
") in bucket and object names, the URL must be properly escaped in the HTTP request ("r%C3%A9sum%C3%A9.doc").
...