S3 API
Supported operations
Which S3 operations Orbit implements, how they behave, and what is not supported.
Orbit implements the part of the S3 API that file tools use. Check this page before you rely on an operation that isn't listed.
Drives (buckets)
| Operation | Notes |
|---|---|
| ListBuckets | Lists the drives the key can reach. |
| HeadBucket | |
| CreateBucket | Creates a drive. Needs a full-control key. Can also fork a drive. |
| DeleteBucket | Deletes a drive, including one that still has files. Needs a full-control key. |
| GetBucketLocation | |
| GetBucketVersioning | Always Enabled. Versioning can't be turned off. |
Files (objects)
| Operation | Notes |
|---|---|
| GetObject | One Range per request. Supports versionId, If-Match, If-None-Match, If-Modified-Since, If-Unmodified-Since and the response-* overrides. |
| HeadObject | Same conditions as GetObject. |
| PutObject | Up to 95 MB. Supports If-Match, If-None-Match: *, Content-MD5 and x-amz-checksum-*. A key ending in / creates a folder. |
| CopyObject | Within a drive, the copy shares the source's data. Across drives, the data is copied. Supports x-amz-metadata-directive and copying a specific versionId. |
| DeleteObject | Removes the file. Its history is kept. |
| DeleteObjects | Up to 1,000 keys per request. |
Listing
| Operation | Notes |
|---|---|
| ListObjectsV2 | prefix, delimiter, max-keys (up to 1,000), continuation-token, start-after, encoding-type. |
| ListObjects (v1) | With marker. |
| ListObjectVersions | prefix, delimiter, key-marker, version-id-marker. Includes delete markers. |
Multipart upload
| Operation | Notes |
|---|---|
| CreateMultipartUpload | |
| UploadPart | Part numbers 1 to 10,000. Each part up to 95 MB. |
| ListParts | |
| CompleteMultipartUpload | |
| AbortMultipartUpload | |
| ListMultipartUploads |
Abandoned multipart uploads are not expired automatically. Abort uploads you don't intend to finish.
Authentication
| Method | Supported |
|---|---|
| Signature Version 4 in headers | Yes |
| Presigned URLs | Yes |
UNSIGNED-PAYLOAD | Yes |
Streaming signed payloads (aws-chunked), with or without trailers | Yes |
| Trailing checksums: CRC32, CRC32C, CRC64NVME, SHA-1, SHA-256 | Yes |
| Signature Version 2 | No |
Conditional writes
If-Match: <etag> writes only if the file is unchanged since you read it. If-None-Match: * writes only if the file doesn't exist. Both work on PutObject, CopyObject, DeleteObject and the Orbit extensions. When the condition fails you get 412 PreconditionFailed and nothing is written.
Use them whenever two writers might touch the same file.
Orbit extensions
These go beyond S3. Each is a normal signed request with an x-uls- query parameter or header, so any Signature Version 4 signer can send them. Every x-uls-* header you send must be included in the signature.
| Extension | Request | Guide |
|---|---|---|
| Write at an offset, truncate | PUT /<drive>/<key>?x-uls-write | Edit files in place |
| Apply many edits at once | POST /<drive>/<key>?x-uls-patch | Edit files in place |
| Insert or remove bytes | PUT /<drive>/<key>?x-uls-splice | Edit files in place |
| Rename a file or folder | PUT /<drive>/<new-key>?x-uls-rename | Rename |
| List a file's versions | GET /<drive>/<key>?x-uls-versions | History and restore |
| Read a file as of a time | GET with x-uls-as-of | History and restore |
| Restore a version | POST /<drive>/<key>?x-uls-restore&versionId= | History and restore |
| Fork a drive | PUT /<new-drive> with x-uls-fork-source | Fork a drive |
| Describe a drive | GET /<drive>?x-uls-drive | Fork a drive |
| Create a child key | POST /_uls/keys | Access keys |
Every response includes x-uls-protocol: 1.
Rename
S3 has no rename, so tools copy and delete. Orbit renames in one step, and a folder rename takes the same time whatever it contains.
PUT /my-drive/final/scene.blend?x-uls-rename
x-uls-source: drafts/scene.blendx-uls-source is the current key, percent-encoded. To rename a folder, end both keys with /. The file keeps its history under the new name.
Not supported
These return 501 NotImplemented:
- Multi-range
GetObjectrequests, andGetObjectbypartNumber UploadPartCopy. The AWS CLI uses it to copy files larger than 8 MB. Raise the threshold withaws configure set s3.multipart_threshold 5GB, or copy with rclone.- Object and bucket ACLs
- Object tagging
- Lifecycle rules, CORS configuration, bucket policies
- Object Lock, legal hold and retention
- S3 Select
DeleteObjectwith aversionId. History is immutable. To go back, restore a version.