@@ -11277,7 +11277,7 @@ paths:
11277
11277
11278
11278
11279
11279
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.
11281
11281
tags:
11282
11282
- Object Storage
11283
11283
security:
@@ -11326,6 +11326,90 @@ paths:
11326
11326
source: >
11327
11327
curl -H "Authorization: Bearer $TOKEN" \
11328
11328
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
11329
11413
/object-storage/buckets/{clusterId}/{bucket}/object-list:
11330
11414
parameters:
11331
11415
- name: clusterId
0 commit comments