Back to top

Capacity

Capacity Management

View capacity
GET
/capacity

Returns a list of facilities and plans with their current capacity.

  •  
  • Response Body Show Hide
  • Request URL Show Hide
  • cURL Show Hide
  • Response  200   ok
  • {
    	"capacity": {
    		"ams1": {
    			"baremetal_0": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			},
    			"baremetal_1": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			},
    			"baremetal_2": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			},
    			"baremetal_3": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			}
    		},
    		"ewr1": {
    			"baremetal_0": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			},
    			"baremetal_1": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			},
    			"baremetal_2": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			},
    			"baremetal_3": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			}
    		},
    		"sjc1": {
    			"baremetal_0": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			},
    			"baremetal_1": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			},
    			"baremetal_2": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			},
    			"baremetal_3": {
    				"level": "string",
    				"available_servers": "integer",
    				"total_servers": "integer",
    				"market_buffer_percentage": "integer",
    				"market_floor_price": "number"
    			}
    		}
    	}
    }
  • Response  401   unauthorized
Check capacity
/capacity

Validates if a deploy can be fulfilled.

  • Parameters
  • facility
     (required) in body

    Facility to create

    {
    	"servers": [
    		{
    			"facility": "string",
    			"plan": "string",
    			"quantity": "string"
    		}
    	]
    }
  • Response  204   no content
  • Response  401   unauthorized
  • Response  422   unprocessable entity