Request
                        
                            
                                | Endpoint: | /api/datacentres | 
                            
                                | Method: | GET | 
                            
                                | Headers: | Accept: application/vnd.cloudlx.v1+json | 
                            
                                | Authorization: Bearer <access_token> | 
                        
                        Optional GET request parameters
                        
                            
                            
                                | continent_id | Description | The ID of the continent where the datacentre is located | 
                            
                                | Type | Integer | 
                            
                                | Example | 2 | 
                            
                            
                                | country_id | Description | The ID of the country where the datacentre is located | 
                            
                                | Type | Integer | 
                            
                                | Example | 19 | 
                            
                            
                                | city_id | Description | The ID of the city where the datacentre is located | 
                            
                                | Type | Integer | 
                            
                                | Example | 34 | 
                        
                        Response
                        Example:
                        
                            
                                
    {
        "datacentre": [
            {
                "id": 1,
                "name": "Global Hubs US1",
                "city": {
                    "id": 1,
                    "name": "Atlanta",
                    "country": {
                        "id": 455,
                        "name": "United States",
                        "continent": {
                            "id": 2,
                            "name": "AMERICAS",
                        }
                    },
                },
                "address1": "2nd Floor Telephone House",
                "address2": "69-77 Paul Street",
                "town": "London",
                "postcode": "EC2A 4NW"
            },
            ...
        ]
    }
                                
                            
                            
                                
                                
                                    | id | Description | The id of the datacentre | 
                                
                                    | Type | Integer | 
                                
                                    | Example | 1 | 
                                
                                
                                    | name | Description | The datacentre name | 
                                
                                    | Type | String | 
                                
                                    | Example | Global Hubs US1 | 
                                
                                
                                    | city | Description | An object of the city the datacentre exists in | 
                                
                                    | Type | Object | 
                                
                                    | Example | Object definitions can be found on the Cities Locality API page | 
                                
                                
                                    | address1 | Description | A string of the first address line of the datacentre | 
                                
                                    | Type | String | 
                                
                                    | Example | 2nd Floor Telephone House | 
                                
                                
                                    | address2 | Description | A string of the second address line of the datacentre | 
                                
                                    | Type | String | 
                                
                                    | Example | 69-77 Paul Street | 
                                
                                
                                    | town | Description | A string of the town the datacentre | 
                                
                                    | Type | String | 
                                
                                    | Example | London | 
                                
                                
                                    | postcode | Postcode | A string of the postcode of the datacentre | 
                                
                                    | Type | String | 
                                
                                    | Example | EC2A 4NW |