cURL
curl --request GET \ --url https://api.planetscale.com/v1/regions \ --header 'Authorization: <api-key>'
{ "current_page": 123, "next_page": 123, "next_page_url": "<string>", "prev_page": 123, "prev_page_url": "<string>", "data": [ { "id": "<string>", "provider": "<string>", "enabled": true, "public_ip_addresses": [ "<string>" ], "display_name": "<string>", "location": "<string>", "slug": "<string>" } ] }
Endpoint is available without authentication.
If provided, specifies the page offset of returned results
If provided, specifies the number of returned results
Returns the available public PlanetScale regions
The current page number
The next page number
The next page of results
The previous page number
The previous page of results
Show child attributes
Was this page helpful?