Creates a Swift container (keypool) within account (namespace).
Containers are storage compartments
for your data. Containers can be assigned custom metadata by including additional HTTP headers, identified with
the X-Container-Meta-prefix, on the PUT request.
To use the OpenStack Swift REST API, you must obtain an
authorization token, which you pass to each request in the X-Auth-Token header.
X-Emc-Vpool is the ID
of the replication group to associate with the new container. This determines the data stores that are used to
store the objects associated with this container. If this header is not present, the default replication group
defined on the namespace is used.
v1/{account}/{container}
X-Auth-Token | optional | Authorization token to be passed in all the headers |
X-Container-Read | optional | Groups that are assigned READ rights to container |
X-Container-Write | optional | Groups that are assigned WRITE rights to container |
X-Container-Meta-prefix | optional | Custom metadata is assigned to a container via HTTP headers identified with the X-Container-Meta-prefix. |
x-emc-dataservice-vpool | optional | ID of the Replication Group to be associated with this newly created container |
X-Versions-Location | optional | Container to hold old versions |
x-emc-retention-period | optional | Implicitly applying retention period in seconds for all objects in container, -1 denotes infinity |
x-emc-file-system-access-enabled | optional | Flag that indicates whether the bucket can be accessed as HDFS |
x-emc-is-stale-allowed | optional | Container Flag that indicates whether the bucket can be accessed during a temporary VDC outage in a federated configuration |
The following conditions must be met in order to call this operation.
The user must exist and have the Swift "admin" role to create a container.
No Request Payload
Response indicating the status of the create operation