Virtual machines
Import a VM image
Copy an image file that is already on this Mac into the library. Requires the **admin** role.
udon_session<token>
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/vm-images/import" \ -H "Content-Type: application/json" \ -d '{ "path": "string" }'{ "id": "string", "name": "string", "kind": "iso", "fileName": "string", "sizeBytes": 0, "sha256": "string", "templateID": "string", "sourceURL": "string", "createdAt": "2019-08-24T14:15:22Z", "inUseBy": [ "string" ]}Virtual machine logs GET
The end of a VM's log as plain text. `console` is what the guest wrote to its serial console; `helper` is the log of the process that runs the VM. Requires the **viewer** role.
List VM images GET
The installer and disk images in the library every VM installs from, the VMs that use each, and the downloads in progress. Requires the **viewer** role.