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.2. Managing S3 Users and Listing Buckets via REST API
- 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
Nov 20, 2019