Skip to content

Returns all ancestors of a region until the first accessible one (region or group with membership)

GET
/api/region/{regionId}/redirects

Authorizations

Parameters

Path Parameters

regionId*
Typestring
Required

Responses

success

Samples

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