Skip to content

Returns the data for the bubble of a community marker on the map.

GET
/api/map/regions/{regionId}

Authorizations

api_key
Type: API Key (header: X-CSRF-Token)

Parameters

Path Parameters

regionId*
Typestring
Required

Query Parameters

regionId

Region for which to return the description

Typestring

Responses

Successful
Authorization
api_key
Variables
Key
Value
regionId*
regionId
cURL
curl -X GET \
'http://localhost/api/map/regions/{regionId}'

Samples

cURL
curl -X GET http://localhost/api/map/regions/{regionId}
JavaScript
fetch("http://localhost/api/map/regions/{regionId}")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/map/regions/{regionId}");
Python
import requests
response = requests.get("http://localhost/api/map/regions/{regionId}")
print(response.json())