openapi: 3.0.1 info: title: Equinix API Authentication Facilities API description: 'Equinix APIs use the OAuth 2.0 for authentication and authorization. Equinix supports the resource owner password and the client credentials flow. To begin, obtain OAuth 2.0 client credentials from the Equinix Developer Console under "My Apps". Then your client application requests an access token from the Equinix API Authorization endpoint, extracts the access_token from the response, and sends the Bearer token to the API that you want to access' termsOfService: https://www.equinix.com/about/legal/terms contact: name: Equinix API Support url: https://docs.equinix.com/api-support.htm version: '1.2' servers: - url: https://api.equinix.com tags: - description: 'Facility Management. Check out the product docs to learn more about [Facilities](https://metal.equinix.com/developers/docs/locations/). ' name: Facilities paths: /facilities: get: deprecated: true description: Provides a listing of available datacenters where you can provision Packet devices. operationId: findFacilities parameters: - description: Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects. in: query name: include schema: items: $ref: '#/components/schemas/findFacilities_include_parameter_inner' type: array style: form - description: Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects. in: query name: exclude schema: default: - address items: $ref: '#/components/schemas/findFacilities_include_parameter_inner' type: array style: form responses: '200': content: application/json: schema: $ref: '#/components/schemas/FacilityList' description: ok '401': content: application/json: schema: $ref: '#/components/schemas/Error' description: unauthorized summary: Retrieve all facilities tags: - Facilities /organizations/{id}/facilities: get: deprecated: true description: Returns a listing of available datacenters for the given organization operationId: findFacilitiesByOrganization parameters: - description: Organization UUID in: path name: id required: true schema: format: uuid type: string - description: 'Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.' explode: false in: query name: include schema: items: type: string type: array style: form - description: 'Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.' explode: false in: query name: exclude schema: items: type: string type: array style: form responses: '200': content: application/json: schema: $ref: '#/components/schemas/FacilityList' description: ok '401': content: application/json: schema: $ref: '#/components/schemas/Error' description: unauthorized '403': content: application/json: schema: $ref: '#/components/schemas/Error' description: forbidden '404': content: application/json: schema: $ref: '#/components/schemas/Error' description: not found summary: Retrieve all facilities visible by the organization tags: - Facilities /projects/{id}/facilities: get: deprecated: true description: Returns a listing of available datacenters for the given project operationId: findFacilitiesByProject parameters: - description: Project UUID in: path name: id required: true schema: format: uuid type: string - description: 'Nested attributes to include. Included objects will return their full attributes. Attribute names can be dotted (up to 3 levels) to included deeply nested objects.' explode: false in: query name: include schema: items: type: string type: array style: form - description: 'Nested attributes to exclude. Excluded objects will return only the href attribute. Attribute names can be dotted (up to 3 levels) to exclude deeply nested objects.' explode: false in: query name: exclude schema: items: type: string type: array style: form responses: '200': content: application/json: schema: $ref: '#/components/schemas/FacilityList' description: ok '401': content: application/json: schema: $ref: '#/components/schemas/Error' description: unauthorized '403': content: application/json: schema: $ref: '#/components/schemas/Error' description: forbidden '404': content: application/json: schema: $ref: '#/components/schemas/Error' description: not found summary: Retrieve all facilities visible by the project tags: - Facilities components: schemas: Metro: example: country: country code: code name: name id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: code: type: string country: type: string id: format: uuid type: string name: type: string type: object Error: description: Error responses are included with 4xx and 5xx HTTP responses from the API service. Either "error" or "errors" will be set. properties: error: description: A description of the error that caused the request to fail. type: string errors: description: A list of errors that contributed to the request failing. items: description: An error message that contributed to the request failing. type: string type: array type: object Facility_features_inner: enum: - baremetal - backend_transfer - layer_2 - global_ipv4 - ibx type: string findFacilities_include_parameter_inner: enum: - address - labels type: string Device_metro: allOf: - $ref: '#/components/schemas/Metro' - description: The metro the facility is in type: object Address: example: country: country address: address address2: address2 city: city coordinates: latitude: latitude longitude: longitude state: state zip_code: zip_code properties: address: type: string address2: type: string city: type: string coordinates: $ref: '#/components/schemas/Coordinates' country: type: string state: type: string zip_code: type: string required: - address - country - zip_code type: object Facility: example: features: - baremetal - backend_transfer - global_ipv4 address: country: country address: address address2: address2 city: city coordinates: latitude: latitude longitude: longitude state: state zip_code: zip_code code: code ip_ranges: - 2604:1380::/36 - 147.75.192.0/21 metro: null name: name id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: address: $ref: '#/components/schemas/Address' code: type: string features: example: - baremetal - backend_transfer - global_ipv4 items: $ref: '#/components/schemas/Facility_features_inner' type: array id: format: uuid type: string ip_ranges: description: IP ranges registered in facility. Can be used for GeoIP location example: - 2604:1380::/36 - 147.75.192.0/21 items: type: string type: array metro: $ref: '#/components/schemas/Device_metro' name: type: string type: object Coordinates: example: latitude: latitude longitude: longitude properties: latitude: type: string longitude: type: string type: object FacilityList: example: facilities: - features: - baremetal - backend_transfer - global_ipv4 address: country: country address: address address2: address2 city: city coordinates: latitude: latitude longitude: longitude state: state zip_code: zip_code code: code ip_ranges: - 2604:1380::/36 - 147.75.192.0/21 metro: null name: name id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 - features: - baremetal - backend_transfer - global_ipv4 address: country: country address: address address2: address2 city: city coordinates: latitude: latitude longitude: longitude state: state zip_code: zip_code code: code ip_ranges: - 2604:1380::/36 - 147.75.192.0/21 metro: null name: name id: 046b6c7f-0b8a-43b9-b35d-6489e6daee91 properties: facilities: items: $ref: '#/components/schemas/Facility' type: array type: object x-eqx-api-linter-skip-rules: - 3 - 38