Skip to content

Commit a7f8261

Browse files
Add GET Object ACL
1 parent ddbb1a9 commit a7f8261

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

openapi.yaml

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11246,6 +11246,70 @@ paths:
1124611246
"acl": "private"
1124711247
}' \
1124811248
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/access
11249+
/object-storage/buckets/{clusterId}/{bucket}/object-acl:
11250+
parameters:
11251+
- name: clusterId
11252+
in: path
11253+
description: The ID of the cluster this bucket exists in.
11254+
required: true
11255+
schema:
11256+
type: string
11257+
- name: bucket
11258+
in: path
11259+
description: The bucket name.
11260+
required: true
11261+
schema:
11262+
type: string
11263+
get:
11264+
operationId: viewObjectStorageBucketAccess
11265+
x-linode-cli-skip: true
11266+
servers:
11267+
- url: https://api.linode.com/v4
11268+
summary: Object Storage Object ACL Config View
11269+
description: |
11270+
This Object Storage bucket's currently configured Access Control List (ACL).
11271+
ACLs define who can access your buckets and objects and specify the level of access
11272+
granted to those users.
11273+
11274+
11275+
This endpoint is available for convenience. It is recommended that instead you
11276+
use the more more [fully-featured S3 API](https://docs.ceph.com/docs/mimic/radosgw/s3/bucketops/#put-bucket-acl) directly.
11277+
tags:
11278+
- Object Storage
11279+
security:
11280+
- personalAccessToken: []
11281+
- oauth:
11282+
- object_storage:read_only
11283+
responses:
11284+
'200':
11285+
description: The Object's canned ACL and policy.
11286+
content:
11287+
application/json:
11288+
schema:
11289+
type: object
11290+
properties:
11291+
acl:
11292+
type: string
11293+
enum:
11294+
- private
11295+
- public-read
11296+
- authenticated-read
11297+
description: >
11298+
The Access Control Level of the bucket, as a canned ACL string.
11299+
For more fine-grained control of ACLs, use the S3 API directly.
11300+
example: public-read
11301+
acl_xml:
11302+
type: string
11303+
description: >
11304+
The full XML of the object's ACL policy.
11305+
example: "<AccessControlPolicy>...</AccessControlPolicy>"
11306+
default:
11307+
$ref: '#/components/responses/ErrorResponse'
11308+
x-code-samples:
11309+
- lang: Shell
11310+
source: >
11311+
curl -H "Authorization: Bearer $TOKEN" \
11312+
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/object-acl
1124911313
/object-storage/buckets/{clusterId}/{bucket}/object-list:
1125011314
parameters:
1125111315
- name: clusterId

0 commit comments

Comments
 (0)