Skip to main content
Index

200: Success

The 200 (Success) status code indicates that the HTTP request was successful. In a GET request, the response contains the requested resources. However, in a POST request, the response contains the results of the action performed on the server.

 

Code 200
Description Success.

 

curl -X

GET "https://api.equinix.com/ne/v1/metros"

-H "Content-type: application/json"

-H "Authorization: Bearer qwErtY8zyW1abcdefGHI"

 

This is an example of a success message.

 

{
    "pagination": {
        "offset": 0,
        "limit": 20,
        "total": 9
    },
    "data": [
        {
            "region": "AMER",
            "availableZones": [
                {
                    "zoneCode": "Zone1",
                    "zoneName": "Zone 1",
                    "clusterSupported": false
                }
            ],
            "metroCode": "DA",
            "metroDescription": "Dallas"
        },
        {
            "region": "APAC",
            "availableZones": [
                {
                    "zoneCode": "Zone1",
                    "zoneName": "Zone 1",
                    "clusterSupported": false
                },
                {
                    "zoneCode": "Zone2",
                    "zoneName": "Zone 2",
                    "clusterSupported": false
                }
            ],
            "metroCode": "SY",
            "metroDescription": "Sydney"
        }
    ]
}