Data Centers

Get data center

Fetch data for data center, identified by dc-name.

get/datacenter/{dc-name}

Request

Path parameters

dc-namestring string required

The name of the data center.

Response

Successfully fetched data center.

namestring

Name of the data center.

localboolean

If true, the data center is a regional data center for the request else false.

statusinteger

If 0, the data center is online else data center is having connectivity problem.

Example response

{
  "name": "gdn-us-west",
  "local": true,
  "tags": {
    "api": "api-gdn-us-west.paas.macrometa.io",
    "url": "gdn-us-west.paas.macrometa.io"
  },
  "locationInfo": {
    "city": "San Jose",
    "countrycode": "US",
    "countryname": "United States",
    "url": "gdn-us-west.paas.macrometa.io"
  }
}

Changes

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