Skip to content

Returns the region options for a specific region.

GET
/api/region/{regionId}/options

Authorizations

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

Parameters

Path Parameters

regionId*

ID of the region

Typeinteger
Required

Responses

Success
Authorization
api_key
Variables
Key
Value
regionId*
cURL
curl -X GET \
'http://localhost/api/region/{regionId}/options'

Samples

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