Home › Docs › CDPStorage – Features

Docs

CDPStorage – Features

This page lists every function of the CDPStorage S3 API as implemented in the current version, followed by a table of what is supported and what is not.
<STORAGE_HOST> is the storage address of your own installation, for example storage.example.com;
<BUCKET> is one of your projects.

Bucket operations

OperationRequestNotes
ListBucketsGET /Lists the projects the key may see (at least one right).
CreateBucketPUT /<BUCKET>Only with a key that may create buckets; S3 naming rules; names are unique in the installation.
DeleteBucketDELETE /<BUCKET>Needs the Delete right; only when no objects and no open multipart uploads remain.
HeadBucketHEAD /<BUCKET>Answers with header x-amz-bucket-region: eu-fra.
GetBucketLocationGET /<BUCKET>?locationReturns eu-fra.
ListObjects (V1)GET /<BUCKET>prefix, delimiter, max-keys, marker, encoding-type=url.
ListObjectsV2GET /<BUCKET>?list-type=2prefix, delimiter, max-keys, continuation-token, start-after, fetch-owner, encoding-type=url.
ListMultipartUploadsGET /<BUCKET>?uploadsOpen uploads, optional prefix, up to 1000.
DeleteObjectsPOST /<BUCKET>?deleteUp to 1000 keys per request, quiet mode; the Delete right is checked per key.

Object operations

OperationRequestNotes
PutObjectPUT /<BUCKET>/<key>Content-Type, x-amz-meta-*, Content-MD5 check, SHA-256 check, aws-chunked bodies; a key ending in / creates a folder.
GetObjectGET /<BUCKET>/<key>Range (one byte range), If-Match, If-None-Match, If-Modified-Since, If-Unmodified-Since; overrides response-content-type, response-content-disposition, response-cache-control, response-content-language, response-expires, response-content-encoding.
HeadObjectHEAD /<BUCKET>/<key>Same headers as GetObject without body.
DeleteObjectDELETE /<BUCKET>/<key>Moves the object to the project trash (restorable in CDPDrive).
CopyObjectPUT with x-amz-copy-sourceWithin and between buckets of the account; metadata directive COPY or REPLACE.

Multipart uploads

  • CreateMultipartUpload (POST ?uploads), UploadPart (PUT ?partNumber=&uploadId=), CompleteMultipartUpload (POST ?uploadId=), AbortMultipartUpload (DELETE ?uploadId=), ListParts (GET ?uploadId=, max-parts, part-number-marker).
  • Part numbers 1 to 10000; every part except the last must be at least 5 MB. Each part is limited to the maximum upload size (5120 MB by default).
  • The ETag of a completed upload has the usual form <md5>-<number of parts>.
  • Parts are stored as replicated blocks; completing an upload does not copy the data again.

Authentication and protocol

  • Signature Version 4 in the Authorization header and as presigned URL (1 to 604800 seconds).
  • aws-chunked uploads: signed, signed with trailer and unsigned with trailer.
  • Any region string; path-style addressing; HTTPS on port 443; HTTP/2.
  • Error responses as S3 XML with code, message, resource and request id; every response carries x-amz-request-id.
  • OPTIONS preflight requests are answered for every origin.

Fixed and accepted configuration calls

Some programs query bucket settings before they work.
CDPStorage answers them with fixed values so these programs continue:

  • ?versioning: empty configuration (versioning not enabled).
  • ?acl: owner with full control.
  • ?cors: one fixed rule (all origins, GET, PUT, HEAD).
  • ?tagging on objects: empty tag set; on buckets: NoSuchTagSet.
  • ?logging, ?notification, ?requestPayment, ?accelerate: empty configuration.
  • ?policy, ?lifecycle, ?encryption, ?object-lock, ?website, ?replication, ?publicAccessBlock: the matching "…NotFound" error with the message "not used by CDPStorage".
  • Write calls for acl, versioning, cors, tagging, lifecycle and policy on buckets, and for acl, tagging, legal-hold and retention on objects, are accepted and ignored.

The storage class is always STANDARD.

Storage functions behind the API

  • Replication to several storage nodes (default 2 copies, per project 1–9), with check, repair and rebalance of nodes.
  • Deduplication: identical content inside one account is stored once (switchable).
  • Encryption at rest with server-side keys (per-file data key, wrapped with the master key).
  • Trash with 30 days retention, quota per project, audit log of key creation, denied requests and failed signatures.
  • Image sizes for CDPCDN are built automatically after an S3 upload of a raster image, if CDN is enabled for the project.

Supported and not supported

FunctionStatus
Path-style addressingSupported
Virtual-hosted addressing (bucket in the host name)Not supported
Signature Version 4, presigned URLsSupported
Signature Version 2Not supported
Multipart uploadSupported
UploadPartCopyNot supported (NotImplemented)
GetObjectAttributesNot supported (NotImplemented)
Range and conditional requestsSupported
User metadata (x-amz-meta-*)Supported
Bucket versioning, object lock, lifecycle rulesNot supported
Bucket policies, configurable ACLs, object tagsNot supported (fixed answers)
Customer-provided encryption keys (SSE-C)Not supported
Static website hosting on the S3 endpointNot supported (use CDPCDN for delivery)
Anonymous public read on the S3 endpointNot supported (use CDPCDN or share links)
Other protocols (WebDAV, SFTP, FTP)Not supported