Locations

List All Locations

List all the locations available to deploy on. You can specify an application and a version to filter out the locations that don’t have enough resources to deploy this application version.

get/v1/locations

Request

  • Base URL: https://api.edgegap.com
  • URL: https://api.edgegap.com/v1/locations
  • Auth: API key in header authorization

Query parameters

appstring

The App Name you want to filter with capacity

versionstring

The Version Name you want to filter with capacity

typestring

The type of the location

tagsstring

Gets locations with tags. Set to: "true" to have the tags

Response

Success

messagesstring[]

Extra Messages for the query

Example response

{
  "locations": [
    {
      "city": "Montreal",
      "continent": "North America",
      "country": "Canada",
      "timezone": "Eastern Time",
      "administrative_division": "Quebec",
      "type": "standard",
      "tags": [
        {
          "key": "key",
          "value": "value"
        }
      ]
    }
  ],
  "messages": [
    ""
  ]
}

Changes

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