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.
Show child attributes