Locations

Get list of locations

Returns a list of geographic locations of the provider's data centers. Locations are cities or states (in the case of the USA). When creating any compute instance, you need to specify a data center. This method helps you find locations with data centers.

get/v1/locations

Request

  • Base URL
    https://api.emma.ms/external
  • Auth
    HTTP bearer

Query parameters

namestring
Example:Stockholm

Name of the geographic location

projectIdinteger

Unused, created for future API extention. Will be ignored if used.

Response

Successful operation

idinteger

ID of the geographical location

namestring

Name of the geographical location (city or state)

countrystring

Name of the country where the geographical location is situated

continentstring

Name of the geographical continent

regionstring

Name of the geographical region

latitudenumber double

Approximate latitude of the geographical location

longitudenumber double

Approximate longitude of the geographical location

Example response

[
  {
    "id": 18,
    "name": "London",
    "country": "United Kingdom",
    "continent": "Asia",
    "region": "EMEA",
    "latitude": 51.50735,
    "longitude": -0.1277583
  }
]

Changes

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