Object storage service API reference¶
See https://docs.openstack.org/api-ref/object-store/.
In these methods, {account}
is the account or project identifier, {container}
is the name of the container, and {object}
is the name of the object. These methods allow you to manage containers and objects in the OpenStack Object Storage service, including creating, listing, uploading, downloading, and deleting containers and objects, as well as managing their metadata.
List Containers¶
Create a Container¶
Bash
PUT /v1/{account}/{container}
```
### Delete a container
```bash
DELETE /v1/{account}/{container}
List objects in a container¶
Upload an object¶
- The object data is included in the request body.
Download an object¶
Delete an object¶
Copy an object¶
- The destination container and object name are specified in the
Destination
header of the request.
Get container metadata¶
Set container metadata¶
- Metadata headers are included in the request.
Get object metadata¶
Set object metadata¶
- Metadata headers are included in the request.