List regions
GET
/v1/info/regions
const url = 'https://example.com/v1/info/regions';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/v1/info/regionsThe region dataset athena validates feature-flag scopes against — short codes with their display names, ordered by code. Static reference data: public, no paging, no filtering.
Responses
Section titled “Responses”OK
Media typeapplication/json
object
items
required
Array<object>
object
code
required
Region code, lowercase — the value stored in feature-flag rules.
string
name
required
string
Example
{ "items": [ { "code": "eea", "name": "European Economic Area" } ]}