Dell DX6004S DX Object Storage Application Guide - Page 8

About DX Storage Object Types, 5. Bucket and Object Naming Rules, 6. Simple Examples of Creating

Page 8 highlights

the same as an object named /folder2/object.txt. These legitimate names specify two different objects. 1.4. About DX Storage Object Types DX Storage supports the following general types of objects: • Immutable unnamed objects, which can be deleted but not changed. If you delete an unnamed object, its UUID is not reused. • Mutable unnamed objects (that is, anchor streams), which have contents that can be replaced but UUIDs that never change. Like immutable unnamed objects, an anchor stream's UUID is not reused after the object is deleted. • Named objects, which are mutable and which are addressed by name only and not by UUID. If you delete a named object, another object with the same name can be created later. The same Simple Content Storage Protocol (SCSP) methods apply to all the types of objects in the preceding list. For more information about SCSP, see Chapter 4, Introduction to the Simple Content Storage Protocol (SCSP). 1.5. Bucket and Object Naming Rules Bucket and object names must be URL-encoded and should allow for access using DNS. This means you must observe the following guidelines: • A bucket or object name must be a valid UTF-8 byte sequence. • To include special characters in bucket or object names, use percent encoding. The following table shows naming rules for buckets and objects: Object type Bucket Named object Naming rules • Allowed characters: alphanumeric, including underscore (_), period (.), and hyphen (-). • A bucket name cannot contain a colon (:), comma (,), or slash (/) character. • A bucket name is case-sensitive. • An object name can contain any alphanumeric character, including slash (/). • An object name is case-sensitive. 1.6. Simple Examples of Creating Buckets and Named Objects This section provides simple curl examples to create a bucket and named objects in the bucket. To use these examples, you must have access to a domain that does not require POST authentication. If you have access to a development environment, create a domain with the protection setting All Users. No authentication required. Copyright © 2010 Caringo, Inc. All rights reserved 3 Version 5.0 December 2010

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81

Copyright © 2010 Caringo, Inc.
All rights reserved
3
Version 5.0
December 2010
the same as an object named
/folder2/object.txt
. These legitimate names specify
two different objects.
1.4. About DX Storage Object Types
DX Storage supports the following general types of objects:
Immutable unnamed objects, which can be deleted but not changed.
If you delete an unnamed object, its UUID is not reused.
Mutable unnamed objects (that is,
anchor streams
), which have contents that can be replaced but
UUIDs that never change.
Like immutable unnamed objects, an anchor stream's UUID is not reused after the object is
deleted.
Named objects, which are mutable and which are addressed by name only and
not
by UUID.
If you delete a named object, another object with the same name can be created later.
The same Simple Content Storage Protocol (SCSP) methods apply to all the types of objects in the
preceding list. For more information about SCSP, see
Chapter 4,
Introduction to the Simple Content
Storage Protocol (SCSP)
.
1.5. Bucket and Object Naming Rules
Bucket and object names must be URL-encoded and should allow for access using DNS. This
means you must observe the following guidelines:
A bucket or object name must be a valid UTF-8 byte sequence.
To include special characters in bucket or object names, use
percent encoding
.
The following table shows naming rules for buckets and objects:
Object type
Naming rules
Bucket
Allowed characters: alphanumeric, including underscore (
_
),
period (
.
), and hyphen (
-
).
A bucket name cannot contain a colon (
:
), comma (
,
), or
slash (
/
) character.
A bucket name is case-sensitive.
Named object
An object name can contain any alphanumeric character,
including slash (
/
).
An object name is case-sensitive.
1.6. Simple Examples of Creating Buckets and Named Objects
This section provides simple
curl
examples to create a bucket and named objects in the
bucket. To use these examples, you must have access to a domain that does not require POST
authentication. If you have access to a development environment, create a domain with the
protection setting
All Users. No authentication required
.