Skip to content

Commit f748af4

Browse files
Add name query parameter
1 parent a7f8261 commit f748af4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

openapi.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11280,6 +11280,16 @@ paths:
1128011280
- personalAccessToken: []
1128111281
- oauth:
1128211282
- object_storage:read_only
11283+
parameters:
11284+
- name: name
11285+
in: query
11286+
required: true
11287+
description: >
11288+
The `name` of the object for which to retrieve its Access Control List (ACL).
11289+
Use the [Object Storage Bucket Contents List](/docs/api/object-storage/#object-storage-bucket-contents-list)
11290+
endpoint to access all object names in a bucket.
11291+
schema:
11292+
type: string
1128311293
responses:
1128411294
'200':
1128511295
description: The Object's canned ACL and policy.
@@ -11309,7 +11319,7 @@ paths:
1130911319
- lang: Shell
1131011320
source: >
1131111321
curl -H "Authorization: Bearer $TOKEN" \
11312-
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/object-acl
11322+
https://api.linode.com/v4/object-storage/buckets/us-east-1/example-bucket/object-acl?name=example.txt
1131311323
/object-storage/buckets/{clusterId}/{bucket}/object-list:
1131411324
parameters:
1131511325
- name: clusterId

0 commit comments

Comments
 (0)