Naming Rules
Follow these rules for naming the domain, bucket, and named objects created for storage in Swarm.
Slashes
Swarm 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 | Applies to Gateway only. A tenant must follow the naming rules of a domain. | ||
Domain | For maximum compatibility, verify the domains are valid DNS names that resolve in your network. A domain name must
| Valid:
Invalid:
| |
Bucket | A bucket name (which is only used in the path) must
| ||
Named object | An object name must
| Valid: |
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").
© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.