Data centers
Get list of data centers
Returns a list of data centers from cloud providers. All compute instances are created in data centers. The data center ID is necessary for creating any compute instance. Use this endpoint to find the provider's data centers.
get/v1/data-centers
Request
- Base URLhttps://api.emma.ms/external
- AuthHTTP bearer
Query parameters
dataCenterNamestring
Example:eu-north-1
Name of the cloud provider's data center
locationIdinteger
Example:6
ID of the geographic location
providerNamestring
Example:GCP
Name of the cloud provider
projectIdinteger
Unused, created for future API extention. Will be ignored if used.
Response
Successful operation
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.