< Previous | Contents | Next >

4.4.1 Creating Versions

HCP supports the transparent versioning of objects. When versioning is enabled, adding an object to the namespace with the same path and name as one that already exists automatically creates a new version of it.

By default, a new version of an object inherits metadata values from its immediate predecessor. You can override these values by manually specifying different metadata values when you create the new version. See Section 2.4:

Versions are created using PUT requests. Section 2.1: Creating an Object provides a step-by-step tutorial on creating new objects.