Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


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.

ResourceURIDescriptionGETPOSTPUTDELETEPATCH
New Request/request/newNew Request Management resource. (tick)   
New Request/request/new/<rquest_id>Specific New Request management resource(tick) 
 (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)





Panel

On this page:

Table of Contents
outlinetrue



Note
titleOPTIONS HTTP method

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

Code Block
languagebash
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:

Code Block
http GET https://vss-api.eis.utoronto.ca/v2/request/new "Authorization: Bearer $TK"


Code Block
languagepy
titleResponse Body
collapsetrue
{
    "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"
    }
}