☁️
Züs
  • About Züs
  • Concepts
    • Architecture
      • Mining on the Züs Blockchain
        • Onboarding a New Miner or Sharder
        • Block Production Protocol
        • Block Finalization
        • Merkle Patricia Trees(MPT) and Recovery
        • View Change and Distributed Key Generation(DKG)
      • Payment
      • Storage
      • Token Bridge Protocol
      • Resources
    • Tokenomics
      • Staking Process
      • Block Rewards
      • Delegation
    • Store
    • Earn
    • Build
    • NFT
  • Resources
    • Whitepapers
      • Tokenomics Paper
      • Architecture Paper
      • Storage Paper
    • Patents
      • NON-FUNGIBLE TOKEN BLOCKCHAIN PROCESSING
      • FREE STORAGE PROTOCOL FOR BLOCKCHAIN PLATFORM
      • TRANSFERRING CONTENT VIA PROXY RE-ENCRYPTION
      • STREAMING CONTENT VIA BLOCKCHAIN TECHNOLOGY
      • SPLIT-KEY WALLET ACCESS BETWEEN BLOCKCHAINS
      • ENFORCING SECURITY PARAMETERS SPECIFIED BY AN OWNER ON A BLOCKCHAIN PLATFORM
      • CLIENT AUTHENTICATION USING SPLIT KEY SIGNING ON A BLOCKCHAIN PLATFORM
      • BLOCKCHAIN CONTENT PURCHASING PROTOCOL
      • BLOCKCHAIN BASED PRIVACY COMPLIANCE PLATFORM
      • SYSTEMS AND METHODS OF SELF-ADMINISTERED PROTOCOLS ON A BLOCKCHAIN PLATFORM
      • SYSTEMS AND METHODS OF AGGREGATE SIGNING OF DIGITAL SIGNATURES ON MULTIPLE MESSAGES SIMULTANEOUSLY U
      • SYSTEMS AND METHODS OF BLOCKCHAIN PLATFORM FOR AUTOMATED ASSET BASED PROVISIONING OF RESOURCES
      • SYSTEMS AND METHODS OF SELF-FORKING BLOCKCHAIN PROTOCOL
      • SYSTEMS AND METHODS OF SUSTAINABILITY PROTOCOL USING DISTRIBUTED BLOCKCHAIN APPLICATION WITH IoT SEN
      • SYSTEMS AND METHODS OF BLOCKCHAIN PLATFORM FOR DISTRIBUTED APPLICATIONS
  • API Reference
    • Endpoints
      • Block
      • Client
      • Connection
      • DNS
      • File
      • Smart Contracts
      • Blobber Stats
      • Transactions
      • Miners and Sharders
        • Stats
        • State
        • Diagnostics
        • Configuration
        • Smart Contract State
        • Smart Contract Stats
        • Chain Stats
  • Hackathon
    • Register to Hackathon
      • How to Add Members to Hackathon Team
    • Repos
    • Documentation
  • Products
    • Bolt
      • Get Started
      • Stake
      • Activity
      • Buy ZCN
      • Sell ZCN
      • Send Tokens
      • Receive Tokens
      • Settings
        • Manage Profile
        • Wallet
        • Read Pool
      • Troubleshooting
    • Vult
      • Sign Up
      • Upload File
      • Upload an Encrypted File
      • Upload a File to a Folder
      • Share a Uploaded File
      • Move a Uploaded File
      • Delete a File
      • Make File Available Offline
      • Troubleshooting
    • Atlus
      • Dashboard Overview
      • Service Providers
      • Charts
        • Market Charts
        • Network Charts
        • Storage Charts
        • Züs Explainer
      • Blockchain
      • Server Map
    • Blimp
      • Sign Up
        • Buy ZCN for Storage
      • Use Blimp as Direct Storage
      • Use Blimp as S3 Server
        • S3 Operations
      • Use Blimp for Cloud Migration
      • Manage Allocations
        • Extend Size
        • Extend Duration
        • Add Blobber
        • Replace Blobber
        • Make allocation Immutable
        • Freeze Allocation
        • Cancel Allocation
    • Chimney
      • Get Started
      • Deploy Blobber on Own Server
      • Deploy Blobber on Rented Server
      • Stake Blobber
      • Add Blobber
      • Monitor Blobbers
      • Visualize Blobber Logs
      • View Blobber Rank
    • Chalk
      • Sign Up
      • Create NFT Collection
        • Buy ZCN for NFT via ERC token
        • Buy ZCN for NFT via Credit card
      • Explore NFT Collections
      • My NFTs
      • Profile
        • Withdraw Earnings
        • Manage Collections
  • Guides
    • Zus GO SDK
    • Zus JS SDK
    • Zbox CLI
      • Repo
      • Get Started
      • Creating and Managing Allocations
      • Uploading and Managing Files
      • Lock and Unlock Tokens
      • Tips and Troubleshooting
    • Zwallet CLI
      • Repo
      • Get Started
      • Zwallet Operations
      • Staking on miners and sharders
      • Burn and Mint Tokens using Zwallet
      • Troubleshooting
    • Add a Blobber
      • Repo
      • Getting Started
    • Add a Miner/Sharder
      • Repo
      • Getting Started
    • Setup a Blockchain
      • Repo
      • Quickstart
        • Understand the Script
      • Step 1: Set up the project
      • Step 2: Setup the network for Züs components
      • Step 3: Initialize and Build the Züs components
      • Step 4: Start Sharder and Miner Containers
      • Step 5 : Create a wallet using zwalletcli
      • Step 6: Starting the blobber containers
      • Step 7: Validate Züs deployment
      • Step 8: Creating an Allocation on Blobber
      • Restarting Sharder and Miner Containers with CleanDB.
      • Additional Tips and Troubleshooting
    • Glossary
  • Support
    • Help Center
      • Community
      • Issues on Github
      • Contact Us
Powered by GitBook
On this page
  • Terminology
  • Commands
  • CreateBucket
  • listBuckets
  • listBucketsObjects
  • listObjects
  • getObject
  • putObject
  • removeObject
  1. Products
  2. Blimp
  3. Use Blimp as S3 Server

S3 Operations

PreviousUse Blimp as S3 ServerNextUse Blimp for Cloud Migration

Last updated 1 year ago

Below is a list of S3 operations that can be performed using Blimp:

Terminology

To map AWS S3 terminology to Züs , the user should keep the following terms in mind:

  1. An allocation owner on Züs can access their storage via s3 server in Blimp.

  2. 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:

 curl -X GET -i 'http://blimp.zus.network/minioclient/?action=createBucket&bucketName=testbucket&accessKey=admin&secretAccessKey=admin'

Sample Response:

 {"Success":true,"Bucketname":"testbucket"}

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:

 curl -X GET -i 'http://blimp.zus.network/minioclient/?action=listBuckets&accessKey=admin&secretAccessKey=admin'

Sample Response:

 {"BucketName":"root","CreationDate":"2023-08-01T23:10:23Z"},
{"BucketName":"testbucket","CreationDate":"2023-08-01T23:10:23Z"}]

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:

 curl -X GET -i 'http://blimp.zus.network/minioclient/?action=listBucketsObjects&accessKey=rootroot&secretAccessKey=rootroot'

Sample Response:

 [{"BucketName":"root","CreationTime":"2022-12-01T23:10:23Z","BucketObjects":[{"Name":"/file1.txt","LastModified":"2022-12-01T23:26:08Z"}]},{"BucketName":"testbucket","CreationTime":"2022-12-01T23:10:23Z","BucketObjects":[]}]

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:

 curl -X GET -i 'http://blimp.zus.network/minioclient/?action=listObjects&bucketName=root&accessKey=rootroot&secretAccessKey=rootroot'

Sample Response:

[{"Name":"/file1.txt","LastModified":"2023-08-01T23:26:08Z"}]

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:

 curl -X GET -i 'http://blimp.zus.network/minioclient/?action=getObject&bucketName=root&objectName=file1.txt&accessKey=rootroot&secretAccessKey=rootroot'

Sample Responses:

200 Successful: Will return contents of file

 <File_Contents>

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:

 curl -X GET -i 'http://localhost:3001/?action=putObject&bucketName=root&accessKey=rootroot&secretAccessKey=rootroot'
 File: /home/ubuntu/files/file1.txt

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:

 curl -X GET -i 'http://localhost:3001/?action=removeObject&bucketName=root&objectName=file1.txt&accessKey=rootroot&secretAccessKey=rootroot'

Sample Response:

 {"Success":true,"ObjectName":"file1.txt"}
Create Bucket
List Buckets
List Buckets Objects
List Objects
Get Object
Put Object
Remove Object