The following sections list the OpenStack REST API requests that are supported, and unsupported by ECS.
This information is taken from the Object Storage API V1 section of the
OpenStack API Reference documentation.
Supported OpenStack Swift calls
Table 1. OpenStack Swift supported callsThe following OpenStack Swift REST API calls are supported in ECS.
Method
Path
Description
GET
v1/{account}
Retrieve a list of existing storage containers ordered by names.
POST
v1/{account}
Create or update an account metadata by associating custom metadata headers with the account level URI. These headers must take the format X-Account-Meta-*.
GET
v1/{account}/{container}
Retrieve a list of objects stored in the container.
PUT
v1/{account}/{container}
Create a container.
DELETE
v1/{account}/{container}
Delete an empty container.
POST
v1/{account}/{container}
Create or update the arbitrary container metadata by associating custom metadata headers with the container level URI. These headers must take the format X-Container-Meta-*.
HEAD
v1/{account}/{container}
Retrieve the container metadata. Currently does not include object count and bytes used. User requires administrator privileges.
GET
v1/{account}/{container}/{object}
Retrieve the object's data.
NOTE: GET range on a Static Large Object (SLO) will not work if the segments were created prior to ECS 3.0.
PUT
v1/{account}/{container}/{object}
Write, or overwrite, an object's content and metadata. Used to copy existing object to another object using X-Copy-From header to designate source. For a Dynamic Large Object (DLO) or a SLO the object can be a manifest. Refer to
Swift's documentation for details.
DELETE
v1/{account}/{container}/{object}
Remove an object from the storage system permanently. In combination with the COPY command you can use COPY then DELETE to effectively move an object.
HEAD
v1/{account}/{container}/{object}
Retrieve object metadata and other standard HTTP headers.
POST
v1/{account}/{container}/{object}
Set and overwrite arbitrary object metadata. These metadata must take the format X-Object-Meta-*. X-Delete-At or X-Delete-After for expiring objects can also be assigned by this operation. But other headers such as Content-Type cannot be changed by this operation.
Table 2. Additional featuresThe following table lists the additional features
Feature
Notes
Temporary URLs
ECS supports the use of temporary URLs to enable users to be given access to objects without needing credentials. More information can be found
Swift's documentation.
Unsupported OpenStack Swift calls
Table 3. OpenStack Swift unsupported callsThe following OpenStack Swift REST API calls are not supported in ECS .
Method
Path
Description
COPY
v1/{account}/{container}/{object}
Copy operation can be achieved using PUT v1/{account}/{container}/{object} with X-Copy-From header.
HEAD
v1/{account}
Retrieve the account metadata. Not fully supported as returns zero for the bytes stored (X-Account-Bytes-Used).
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\