Ordnary R2

Object storage with an S3-compatible API. Works with the AWS CLI and every S3 SDK.

Buckets

  • GET / List the buckets in the account.
  • PUT /{bucket} Create a bucket.
  • HEAD /{bucket} Check that a bucket exists and you can reach it.
  • DELETE /{bucket} Delete an empty bucket.

Objects

  • GET /{bucket}?list-type=2 List objects, optionally under a prefix.
  • PUT /{bucket}/{key} Upload an object of up to 100 MB.
  • GET /{bucket}/{key} Download an object, or a range of it.
  • HEAD /{bucket}/{key} Read an object's size, type and metadata.
  • DELETE /{bucket}/{key} Delete an object.
  • POST /{bucket}?delete Delete up to 1,000 objects at once.

Multipart uploads

  • POST /{bucket}/{key}?uploads Start a multipart upload.
  • PUT /{bucket}/{key}?partNumber={n}&uploadId={id} Upload one part.
  • POST /{bucket}/{key}?uploadId={id} Complete the upload from its parts.
  • DELETE /{bucket}/{key}?uploadId={id} Abort the upload and drop its parts.

Example

AWS CLI
aws s3 cp ./report.pdf s3://my-bucket/reports/report.pdf \
  --endpoint-url https://s3.ordnary.com
S3 API guide

Other APIs

Choose which cookies Ordnary may use. You can change this at any time via Cookie settings at the bottom of every page.