Skip to content

Returns the properties of a specific region.

GET
/api/region/{regionId}

Authorizations

Parameters

Path Parameters

regionId*

ID of the region or 0 for the root region

Typeinteger
Required

Responses

success

Samples

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