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

Version 1 Next »


Introduction

The /v2/request/new resource provides the list of submitted new requests. With this resource you can get further detail about all or any specific new virtual machine request. 

Remember, a new request is created for every POST request to a given Virtual Machine sub-resource.

ResourceURIDescriptionGETPOSTPUTDELETE
New Request/request/newNew Request Management resource. (tick)   
New Request/request/new/<rquest_id>Specific New Request management resource(tick) 
 
NR User data/request/new/<rquest_id>/user_dataCloud config user data provided(tick)


NR Extra Config/request/new/<rquest_id>/extra_configExtra config to inject in the VM config(tick)


NR Meta data/request/new/<rquest_id>/meta_dataVirtual machine included metadata(tick)


NR Guest OS Customization Specification/request/new/<rquest_id>/custom_specGuest OS customization specification(tick)


On this page:

OPTIONS HTTP method

Remember, you can get allowed methods, description, parameters, etc. by making a OPTIONS HTTP request to /v2/request/new.

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

List

To list your new requests, do a GET request to /request resource as follows:

http GET https://vss-api.eis.utoronto.ca/v2/request/new "Authorization: Bearer $TK"
Response Body
{
    "data": [
        "http://vss-api.eis.utoronto.ca/v2/request/new/6",
        "http://vss-api.eis.utoronto.ca/v2/request/new/1",
        "http://vss-api.eis.utoronto.ca/v2/request/new/4",
        "http://vss-api.eis.utoronto.ca/v2/request/new/2",
        "http://vss-api.eis.utoronto.ca/v2/request/new/7",
        "http://vss-api.eis.utoronto.ca/v2/request/new/3",
        "http://vss-api.eis.utoronto.ca/v2/request/new/5",
        "http://vss-api.eis.utoronto.ca/v2/request/new/9",
        "http://vss-api.eis.utoronto.ca/v2/request/new/26",
        "http://vss-api.eis.utoronto.ca/v2/request/new/8"
    ],
    "meta": {
        "_link": {
            "self": "http://vss-api.eis.utoronto.ca/v2/request/new"
        },
        "count": 10,
        "pages": {
            "first_url": "http://vss-api.eis.utoronto.ca/v2/request/new?per_page=10&page=1",
            "last_url": "http://vss-api.eis.utoronto.ca/v2/request/new?per_page=10&page=19",
            "next_url": "http://vss-api.eis.utoronto.ca/v2/request/new?per_page=10&page=2",
            "page": 1,
            "pages": 19,
            "per_page": 10,
            "prev_url": null,
            "total": 189
        },
        "time": "0.01800s",
        "user": "jm"
    }
}



  • No labels