{
  "opencollection": "1.0.0",
  "info": {
    "name": "Firecracker Actions Machine Config API",
    "version": "1.16.0-dev"
  },
  "items": [
    {
      "info": {
        "name": "Machine Config",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gets the machine configuration of the VM.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/machine-config"
          },
          "docs": "Gets the machine configuration of the VM. When called before the PUT operation, it will return the default values for the vCPU count (=1), memory size (=128 MiB). By default SMT is disabled and there is no CPU Template."
        },
        {
          "info": {
            "name": "Updates the Machine Configuration of the VM. Pre-boot only.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/machine-config"
          },
          "docs": "Updates the Virtual Machine Configuration with the specified input. Firecracker starts with default values for vCPU count (=1) and memory size (=128 MiB). The vCPU count is restricted to the [1, 32] range. With SMT enabled, the vCPU count is required to be either 1 or an even number in the range. otherwise there are no restrictions regarding the vCPU count. If 2M hugetlbfs pages are specified, then `mem_size_mib` must be a multiple of 2. If any of the parameters has an incorrect value, the whole"
        },
        {
          "info": {
            "name": "Partially updates the Machine Configuration of the VM. Pre-boot only.",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "{{baseUrl}}/machine-config"
          },
          "docs": "Partially updates the Virtual Machine Configuration with the specified input. If any of the parameters has an incorrect value, the whole update fails."
        }
      ]
    }
  ],
  "bundled": true
}