Virtual machines
Download a VM image
Fetch a template's image, or any https image by URL with its kind, into the library. The download runs in the background and `GET /api/vm-images` reports its progress. Requires the **admin** role.
udon_session<token>
In: cookie
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
A template's image, or any https image by URL.
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/api/vm-images/download" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "templateID": "string", "url": "string", "bytesReceived": 0, "totalBytes": 0, "state": "downloading", "error": "string", "imageID": "string"}