Skip to content

Commit 7881fa3

Browse files
authored
Merge pull request #357 from linode/master
Release 4.79.0 (merge master into development)
2 parents 9add031 + 23023d9 commit 7881fa3

File tree

1 file changed

+86
-2
lines changed

1 file changed

+86
-2
lines changed

openapi.yaml

Lines changed: 86 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
openapi: 3.0.1
22
info:
3-
version: 4.78.3
3+
version: 4.79.0
44

55
title: Linode API
66
description: |
@@ -11277,7 +11277,7 @@ paths:
1127711277

1127811278

1127911279
This endpoint is available for convenience. It is recommended that instead you
11280-
use the more more [fully-featured S3 API](https://docs.ceph.com/docs/mimic/radosgw/s3/bucketops/#put-bucket-acl) directly.
11280+
use the more more [fully-featured S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/get-object-acl.html) directly.
1128111281
tags:
1128211282
- Object Storage
1128311283
security:
@@ -11326,6 +11326,90 @@ paths:
1132611326
source: >
1132711327
curl -H "Authorization: Bearer $TOKEN" \
1132811328
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/object-acl?name=example.txt
11329+
put:
11330+
operationId: viewObjectStorageBucketAccess
11331+
x-linode-cli-skip: true
11332+
servers:
11333+
- url: https://api.linode.com/v4
11334+
summary: Object Storage Object ACL Config Update
11335+
description: |
11336+
Update an Object's configured Access Control List (ACL) in this Object Storage bucket.
11337+
ACLs define who can access your buckets and objects and specify the level of access
11338+
granted to those users.
11339+
11340+
11341+
This endpoint is available for convenience. It is recommended that instead you
11342+
use the more more [fully-featured S3 API](https://docs.aws.amazon.com/cli/latest/reference/s3api/put-object-acl.html) directly.
11343+
tags:
11344+
- Object Storage
11345+
security:
11346+
- personalAccessToken: []
11347+
- oauth:
11348+
- object_storage:read_write
11349+
parameters:
11350+
- name: name
11351+
in: query
11352+
required: true
11353+
description: >
11354+
The `name` of the object for which to update its Access Control List (ACL).
11355+
Use the [Object Storage Bucket Contents List](/docs/api/object-storage/#object-storage-bucket-contents-list)
11356+
endpoint to access all object names in a bucket.
11357+
schema:
11358+
type: string
11359+
requestBody:
11360+
description: The changes to make to this Object's access controls.
11361+
content:
11362+
application/json:
11363+
schema:
11364+
properties:
11365+
acl:
11366+
type: string
11367+
enum:
11368+
- private
11369+
- public-read
11370+
- authenticated-read
11371+
- public-read-write
11372+
- custom
11373+
description: >
11374+
The Access Control Level of the bucket, as a canned ACL string.
11375+
For more fine-grained control of ACLs, use the S3 API directly.
11376+
example: public-read
11377+
responses:
11378+
'200':
11379+
description: The Object's canned ACL and policy.
11380+
content:
11381+
application/json:
11382+
schema:
11383+
type: object
11384+
properties:
11385+
acl:
11386+
type: string
11387+
enum:
11388+
- private
11389+
- public-read
11390+
- authenticated-read
11391+
- public-read-write
11392+
- custom
11393+
description: >
11394+
The Access Control Level of the bucket, as a canned ACL string.
11395+
For more fine-grained control of ACLs, use the S3 API directly.
11396+
example: public-read
11397+
acl_xml:
11398+
type: string
11399+
description: >
11400+
The full XML of the object's ACL policy.
11401+
example: "<AccessControlPolicy>...</AccessControlPolicy>"
11402+
default:
11403+
$ref: '#/components/responses/ErrorResponse'
11404+
x-code-samples:
11405+
- lang: Shell
11406+
source: >
11407+
curl -H "Content-Type: application/json" \
11408+
-H "Authorization: Bearer $TOKEN" \
11409+
-X PUT -d '{
11410+
"acl": "public-read"
11411+
}' \
11412+
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/object-acl?name=example.txt
1132911413
/object-storage/buckets/{clusterId}/{bucket}/object-list:
1133011414
parameters:
1133111415
- name: clusterId

0 commit comments

Comments
 (0)