Data centers

Get data center by ID

Returns a data center from a cloud provider by data center ID. Information on the data center includes its name, provider and location.

get/v1/data-centers/{dataCenterId}

Request

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

Path parameters

dataCenterIdstring required
Example:aws-us-west-1

ID of the cloud provider's data center

Query parameters

projectIdinteger

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

Response

Successful operation

idstring

ID of the cloud provider's data center

namestring

Name of the cloud provider's data center

providerIdinteger

ID of the cloud provider that owns the datacenter

providerNamestring

Name of the cloud provider that owns the datacenter

locationIdinteger

ID of the data center location

locationNamestring

Name of the data center location (city or state)

Example response

{
  "id": "aws-us-west-1",
  "name": "eu-north-1",
  "providerId": 5,
  "providerName": "AWS",
  "locationId": 15,
  "locationName": "Stockholm"
}

Changes

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