cloudflare-go
cloudflare-go copied to clipboard
Add API support to check if public access is allowed for a R2 bucket
Current cloudflare-go version
Latest
Description
I am trying to fetch my R2 bucket details using the API and following the docs below.
Configure aws-sdk-go
for R2
S3 API compatibility
I am trying to get the bucket public access data but didn't find any API that gives any of this data. I have configured my bucket to allow public access. Is there any API using which we can say that the bucket allows public access or similar to that?
Use cases
I have configured my bucket to allow public access from the Cloudflare dashborad. There should be an API that will return if my bucket allows public access and the public bucket URL for that bucket.
Potential cloudflare-go usage
If you can add an API that returns some detail about public access and the public bucket URL of the bucket.
References
No response
there isn't a public API for this so it is not available to check at the moment.
Thanks, @jacobbednarz, for the update. Excited to see more API support in the upcoming releases 🙂.