{ "opencollection": "1.0.0", "info": { "name": "CubeFS Master ACLs API", "version": "3.3" }, "items": [ { "info": { "name": "ACLs", "type": "folder" }, "items": [ { "info": { "name": "CubeFS Get bucket ACL", "type": "http" }, "http": { "method": "GET", "url": "http://{masterHost}:{masterPort}/:bucket?acl", "params": [ { "name": "bucket", "value": "", "type": "path", "description": "Name of the S3 bucket (corresponds to a CubeFS volume name)." } ] }, "docs": "Returns the access control list for the specified bucket. The ACL defines which accounts or groups have read and write access to the bucket." }, { "info": { "name": "CubeFS Set bucket ACL", "type": "http" }, "http": { "method": "PUT", "url": "http://{masterHost}:{masterPort}/:bucket?acl", "headers": [ { "name": "x-amz-acl", "value": "" } ], "params": [ { "name": "bucket", "value": "", "type": "path", "description": "Name of the S3 bucket (corresponds to a CubeFS volume name)." } ] }, "docs": "Sets the access control list for the specified bucket. Supports canned ACLs (private, public-read) or a custom ACL with explicit grants." } ] } ], "bundled": true }