{
 "openapi": "3.1.0",
 "info": {
  "title": "Gyro Public API",
  "version": "2.30.0",
  "summary": "Manage Gyro cloud servers, SSH keys and billing programmatically.",
  "x-summary-tr": "Gyro bulut sunucularınızı, SSH anahtarlarınızı ve faturalarınızı programla yönetin.",
  "contact": {
   "name": "Gyro Hosting",
   "url": "https://www.gyrohosting.com"
  },
  "license": {
   "name": "Proprietary",
   "identifier": "LicenseRef-Gyro-API-Terms"
  }
 },
 "servers": [
  {
   "url": "https://www.gyrohosting.com/api/v1/client",
   "description": "Production"
  }
 ],
 "paths": {
  "/cloud/containers/plans": {
   "get": {
    "tags": [
     "Containers"
    ],
    "operationId": "listContainerPlans",
    "summary": "List container environment plans",
    "x-summary-tr": "Kapsayıcı ortam paketlerini listele",
    "x-scope": "cloud_read",
    "x-cli": {
     "command": "container plans"
    },
    "description": "Orderable Gyro Container (ECS) environment plans with prepaid prices. A plan is ONE environment (a dedicated node pool); `max_services` is the most apps you can define, `max_replicas` the most replicas per service; all of them share the pool.",
    "x-description-tr": "Sipariş edilebilir Gyro Kapsayıcı (ECS) ortam paketleri ve ön ödemeli fiyatlar. Paket = 1 ortam (size ayrılmış düğüm havuzu); `max_services` tanımlanabilecek en fazla uygulama, `max_replicas` servis başına en fazla kopya; hepsi havuzu paylaşır.",
    "parameters": [],
    "responses": {
     "200": {
      "description": "OK",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "data": {
           "type": "array",
           "items": {
            "$ref": "#/components/schemas/ContainerPlan"
           }
          }
         }
        }
       }
      }
     }
    }
   }
  }
 },
 "components": {
  "schemas": {
   "ContainerPlan": {
    "type": "object",
    "properties": {
     "id": {
      "type": "integer",
      "description": "product id"
     },
     "plan": {
      "type": "string",
      "example": "mini-1-1",
      "description": "plan name for POST /cloud/containers (serverless = per-container usage)"
     },
     "name": {
      "type": "string"
     },
     "serverless": {
      "type": "boolean"
     },
     "region": {
      "type": "string",
      "example": "tr-ist-1"
     },
     "nodes": {
      "type": [
       "integer",
       "null"
      ],
      "description": "nodes in the environment's dedicated pool"
     },
     "node_cores": {
      "type": [
       "integer",
       "null"
      ]
     },
     "node_memory_gb": {
      "type": [
       "number",
       "null"
      ]
     },
     "node_disk_gb": {
      "type": [
       "integer",
       "null"
      ]
     },
     "max_services": {
      "type": [
       "integer",
       "null"
      ],
      "description": "most services (apps) you can define; all services and replicas share the pool"
     },
     "max_replicas": {
      "type": [
       "integer",
       "null"
      ],
      "description": "most replicas per service (autoscaling)"
     },
     "max_domains": {
      "type": [
       "integer",
       "null"
      ]
     },
     "billing": {
      "type": "string",
      "const": "prepaid"
     },
     "currency": {
      "type": "string"
     },
     "monthly_cap_eur": {
      "type": [
       "number",
       "null"
      ]
     },
     "hourly_eur": {
      "type": [
       "number",
       "null"
      ]
     },
     "usage": {
      "type": [
       "object",
       "null"
      ],
      "properties": {
       "vcpu_hour_eur": {
        "type": "number"
       },
       "gb_hour_eur": {
        "type": "number"
       }
      }
     }
    }
   }
  }
 },
 "security": [
  {
   "bearerAuth": []
  }
 ]
}