Regions

Find centroid(s)

Find the aggregated centroid, or disaggregated centroids, of a set of regions. When the set of regions are "aggregated", all regions will be treated as if they were "combined", or "aggregated" into one region. Only a single pair of longitude/latitude coordinates will be returned for the entire aggregated region. When the set of regions are "disaggregated", the centroid for each region will be calculated "separately", or "disaggregated". A pair of longitude/latitude coordinates will be returned for each region individually.

post/{country}/{version}/{level}/centroid

Request

  • Base URL
    https://api.lightcast.io/alumni-pathways
  • URL
    https://api.lightcast.io/alumni-pathways/{country}/{version}/{level}/centroid
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://auth.emsicloud.com/connect/token scopes: alumni-pathways

Path parameters

countrystring required

Country abbreviation.

versionstring required

The skills taxonomy version.

levelstring required

A country's region level.

Request body

aggregateboolean
  • When aggregate is true, all areas will be treated as if they were "combined", or "aggregated" into one area, and only a single pair of longitude/latitude coordinates will be returned.

  • When aggregate is false, the centroid for each area will be calculated "separately", or "disaggregated", and a pair of longitude/latitude coordinates will be returned for each area specified in the request.

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.