1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-28 11:18:11 +00:00
gns3-server/docs/api/v2/compute/qemu/qemuimagesfilename.rst
2018-01-08 11:57:07 +07:00

31 lines
897 B
ReStructuredText

/v2/compute/qemu/images/{filename:.+}
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/compute/qemu/images/**{filename:.+}**
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Upload Qemu image
Parameters
**********
- **filename**: Image filename
Response status codes
**********************
- **204**: Image uploaded
GET /v2/compute/qemu/images/**{filename:.+}**
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Download Qemu image
Parameters
**********
- **filename**: Image filename
Response status codes
**********************
- **200**: Image returned