childRegions
Returns a list of regions located within the specified region.
Request
curl -X GET 'https://data-api.oxilor.com/rest/child-regions' \
-H 'Authorization: Bearer YOUR_API_KEY'
Arguments
Name
Type
Description
parentId
Required
Int
The ID of the parent region.
first
Optional
Int
The number of items on the page. Used for forward pagination.
after
Optional
String
The cursor of the item relative to which the next items should be returned. Used for forward pagination.
last
Optional
Int
The number of items on the page. Used for backward pagination.
before
Optional
String
The cursor of the item relative to which the previous items should be returned. Used for backward pagination.
Response
The method return RegionConnection.
Make a real request
URL:
Response:
The response will be here
Other methods
Determines whether the request is authorized.
Returns the region by ID.
Returns a list of all continents.
Returns a list of all countries.
Returns a list of regions.
Returns a list of regions by a search term.
Returns a list of regions located near the specified location.
Detects the region by the IP address.