Skip to content

Conversation

leslitagordita
Copy link
Contributor

  • Added GET /object-storage/buckets/{clusterId}/{bucket}/object-acl

@patthiel
Copy link
Contributor

patthiel commented Nov 2, 2020

the endpoint requires a name query string parameter. This accepts the name of the object in the bucket you want to get object ACL's for.. For example:

$ curl object-storage/buckets/alpha/pats_cool_bucket/object-acl?name=test.txt

everything else looks good

Copy link
Collaborator

@victoriaroan victoriaroan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name is accepted as a query parameter. It is the name of the object and it is required.

Edit: should have refreshed the page before commenting, @patthiel beat me to it!

enum:
- private
- public-read
- authenticated-read
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can also return public-read-write and custom.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated!

@leslitagordita leslitagordita merged commit 9add031 into linode:development Nov 4, 2020
LBGarber pushed a commit to LBGarber/linode-api-docs that referenced this pull request Jun 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants