List all locations

GET /v1/locations

Returns a list of SpeedVitals supported locations

Responses

  • Successful response.

    Hide response attribute Show response attribute object
    • data array[object]

      An array of location objects

      Hide data attributes Show data attributes array[object]
      • id string

        Values are us, ca, br, de, uk, nl, pl, ch, jp, in, sg, au, id, kr, or tw.

      • name string
      • region string

        Values are America, Europe, or Asia Pacific.

GET /v1/locations
curl \
 -X GET https://api.speedvitals.com/v1/locations
Response examples (200)
{
  "data": [
    {
      "id": "us",
      "name": "United States",
      "full_name": "South Carolina, US",
      "region": "America"
    },
    {
      "id": "de",
      "name": "Germany",
      "full_name": "Frankfurt, Germany",
      "region": "Europe"
    },
    "{...}",
    "{...}"
  ]
}
Response examples (200)
{
  "data": [
    {
      "id": "us",
      "name": "United States",
      "region": "America",
      "full_name": "South Carolina, US"
    },
    {
      "id": "de",
      "name": "Germany",
      "region": "Europe",
      "full_name": "Frankfurt, Germany"
    },
    "{...}",
    "{...}"
  ]
}