S3 Operations
Below is a list of S3 operations that can be performed using Blimp:
Create Bucket List Buckets List Buckets Objects List Objects Get Object Put Object Remove Object
Terminology
To map AWS S3 terminology to Züs , the user should keep the following terms in mind:
An allocation owner on Züs can access their storage via s3 server in Blimp.
Each folder in the remotepath
/
of an allocation on Züs is a bucket in Blimp S3 server.
Commands
CreateBucket
This method will create a bucket stored on Züs allocation.
Parameter
Type
Description
bucketName
String
Name of the bucket
accessKey
String
Provide Access Key to validate Minio ClientAPI requests
secretAccessKey
String
Provide Secret Access Key to validate Minio ClientAPI requests
Take a look at how you might call this method via curl
:
Sample Response:
listBuckets
This method will list all the available buckets on Züs dStorage allocation.
Parameter
Type
Description
accessKey
String
Provide Access Key to validate Minio ClientAPI requests
secretAccessKey
String
Provide Secret Access Key to validate Minio ClientAPI requests
Take a look at how you might call this method via curl
:
Sample Response:
listBucketsObjects
This method will list all the bucket and its contents on Züs dStorage allocation.
Parameter
Type
Description
accessKey
String
Provide Access Key to validate Minio ClientAPI requests
secretAccessKey
String
Provide Secret Access Key to validate Minio ClientAPI requests
Take a look at how you might call this method via curl
:
Sample Response:
listObjects
This method will list all the objects for a specified bucket on Züs dStorage allocation.
Parameter
Type
Description
bucketName
String
Provide Name of the bucket thats already there on 0chain allocation
accessKey
String
Provide Access Key to validate Minio ClientAPI requests
secretAccessKey
String
Provide Secret Access Key to validate Minio ClientAPI requests
Take a look at how you might call this method via curl
:
Sample Response:
getObject
This method will return a stream of the object data that user will be able to download.
Parameter
Type
Description
objectName
String
Specify object/file name with its type .
bucketName
String
Provide Name of the bucket in which object is stored.
accessKey
String
Provide Access Key to validate Minio ClientAPI requests
secretAccessKey
String
Provide Secret Access Key to validate Minio ClientAPI requests
Take a look at how you might call this method via curl
:
Sample Responses:
200 Successful: Will return contents of file
putObject
This method will upload an object on Züs dStorage allocation.
Parameter
Type
Description
File:
Form
A form filed with file
so it can upload this file to dStorage.
bucketName
String
Provide Name of the bucket in which the uploaded object should be stored.
accessKey
String
Provide Access Key to validate Minio ClientAPI requests
secretAccessKey
String
Provide Secret Access Key to validate Minio ClientAPI requests
Take a look at how you might call this method via curl
:
Sample Response:
removeObject
This method will remove an object/file on Züs dStorage allocation.
Parameter
Type
Description
objectname
String
Specify the object/file name with type to be removed.
bucketName
String
Provide name of the bucket from which the object has to be removed
accessKey
String
Provide Access Key to validate Minio ClientAPI requests
secretAccessKey
String
Provide Secret Access Key to validate Minio ClientAPI requests
Take a look at how you might call this method via curl
:
Sample Response:
Last updated