Documentation
Prev Next
 

Acronis Cyber Infrastructure 3.0 Storage-as-a-Service Integration Guide

Nov 20, 2019
  • 1. Introduction
    • 1.1. About This Guide
    • 1.2. About WHMCS
    • 1.3. About S3 Clusters
    • 1.4. Integration Methods
  • 2. Integration via Command-Line Interface (CLI)
    • 2.1. Managing S3 Users
    • 2.2. Managing S3 User and Bucket Limits via CLI
  • 3. Integration via REST API
    • 3.1. Requirements for Integration via REST API
    • 3.2. Managing S3 Users and Listing Buckets via REST API
    • 3.3. Managing S3 User and Bucket Limits via REST API
    • 3.4. Obtaining Usage Statistics via REST API
  • 4. Integration with WHMCS
    • 4.1. Requirements
    • 4.2. Managing S3 Users in WHMCS
    • 4.3. Managing S3 User and Bucket Limits in WHMCS
    • 4.4. Obtaining Usage Statistics in WHMCS
  • Acronis Cyber Infrastructure 3.0 Storage-as-a-Service Integration GuidePDF, 1950 KB
Prev Next

3. Integration via REST API¶

This chapter explains ways to provision, enable, disable, and terminate S3 users as well as set user and bucket limits for billing purposes.

The provided examples are Bash commands with which you can send requests to S3 cluster’s REST API via cURL and OpenSSL. Responses are in JSON format and can be processed further with tools like json_pp or json_reformat.

Note

Replace http://s3.example.com in examples with your actual S3 gateway URL.

In this chapter:¶

  • 3.1. Requirements for Integration via REST API
    • 3.1.1. Preparing the Environment
    • 3.1.2. Enabling Statistics
  • 3.2. Managing S3 Users and Listing Buckets via REST API
    • 3.2.1. Creating S3 Users
    • 3.2.2. Listing S3 Users
    • 3.2.3. Querying S3 Users
    • 3.2.4. Disabling and Enabling S3 Users
    • 3.2.5. Deleting S3 Users
    • 3.2.6. Generating S3 Access Keys
    • 3.2.7. Revoking S3 Access Keys
    • 3.2.8. Listing User Buckets
  • 3.3. Managing S3 User and Bucket Limits via REST API
    • 3.3.1. Setting Operations per Second for Users
    • 3.3.2. Setting Bandwidth per Second for Users
    • 3.3.3. Querying User Limits
    • 3.3.4. Deleting User Limits
    • 3.3.5. Setting Operations per Second for Buckets
    • 3.3.6. Setting Bandwidth per Second for Buckets
    • 3.3.7. Querying Bucket Limits
    • 3.3.8. Deleting Bucket Limits
  • 3.4. Obtaining Usage Statistics via REST API
    • 3.4.1. Listing Statistics Objects
    • 3.4.2. Querying Statistics Objects
    • 3.4.3. Deleting Statistics Objects
Nov 20, 2019
Edit Raw Print Share
Prev Next