Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

In some operating systems, such as the most recent versions of Windows, you need to provide the device drivers to properly recognize basic devices like the VMXNET3 network adapter or Paravirtual SCSi controllers. These drivers are provided by VMware and now, they are available for you to use on demand by the Floppy API resource. 

The Floppy API resource also provides available .flp images from your VSKEY-STOR space, so you are free to upload any custom floppy image and mount it to a Virtual Machine.

On this page:

The following table shows a brief description and HTTP methods allowed to interact with Floppy images available to customers.

ResourceURIDescriptionGETPOSTPUTPATCHOPTIONS
Floppy images/floppyFloppy images available to customers.(tick)    (tick)

OPTIONS HTTP method

Remember, you can also show what methods are allowed and description, parameters, etc. by making an OPTIONS HTTP request to /v2/floppy.

http OPTIONS "https://vss-api.eis.utoronto.ca/v2/floppy"
curl -X OPTIONS "https://vss-api.eis.utoronto.ca/v2/floppy"

List

In order to list available floppy images you should make a GET request to the endpoint /v2/floppy passing your access token. As a result, you will get list of Floppy images in form of JSON objects with the following attributes:

NameTypeDescription
namestringFloppy image file name
pathstringDatastore path location

The following examples implements HTTPie and CURL to list available Floppy images:

http GET "https://vss-api.eis.utoronto.ca/v2/floppy" "Authorization: Bearer $TK"
curl -H "Authorization: Bearer $TK" -X GET "https://vss-api.eis.utoronto.ca/v2/floppy"
Response Body
{
    "_links": {
        "api": "https://vss-api.eis.utoronto.ca/v2/", 
        "self": "https://vss-api.eis.utoronto.ca/v2/floppy"
    },
    "data": [
       {
            "name": "pvscsi-Windows2008.flp",
            "path": "[] /vmimages/floppies/pvscsi-Windows2008.flp"
        },
        {
            "name": "pvscsi-Windows2008.flp",
            "path": "[] /vmimages/floppies/pvscsi-Windows2008.flp"
        },
        {
            "name": "pvscsi-Windows2003.flp",
            "path": "[] /vmimages/floppies/pvscsi-Windows2003.flp"
        },
        {
            "name": "pvscsi-WindowsXP.flp",
            "path": "[] /vmimages/floppies/pvscsi-WindowsXP.flp"
        },
        {
            "name": "pvscsi.flp",
            "path": "[vssUser-xfers] jm/floppies/pvscsi.flp"
        }
    ], 
    "meta": {
        "count": 3, 
        "time": "0.91943s", 
        "user": "jm"
    }
}

Note the last item in the list is coming from jm's personal space in vskey-stor.

  • No labels