How to Get all bucket within Single Region Through REST API

0

Get bucket Rest Api gives the response of the bucket of all regions. Even if I provide Region as Query or header, Tried all possible ways. At the last, I'm Filtering it within For loop by checking the bucket location. But it consuming A lot of Time. I just want buckets Within Single Region.

Is That any alternative way to get buckets only within that single region with Rest API?

gefragt vor 2 Jahren314 Aufrufe
1 Antwort
1
Akzeptierte Antwort

At the time being (January 2023), listing buckets from a specific region is only possible by calling get-bucket-location for each bucket, as you are already doing.

profile picture
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen