Status

Introduction

The /v2/status resource provides a summary of the RESTful API status and its components

ResourceURIDescriptionGETPOSTPUTDELETE
Status/statusAPI Status(tick)




On this page:

TK stores the Cloud API Token generated as a result of the following POST request to the /auth/request-token resource:

curl -X POST https://vss-api.eis.utoronto.ca/auth/request-token -u <username>

For example, extracting the token with the jq command:

TK=$(curl -X POST https://vss-api.eis.utoronto.ca/auth/request-token -u <username> | jq -r '.token')

List

The following examples implements HTTPie and CURL to get the API status:

http GET "https://vss-api.eis.utoronto.ca/v2/status" "Authorization: Bearer $TK"
curl -H "Authorization: Bearer $TK" -X GET "https://vss-api.eis.utoronto.ca/v2/status"
Response Body
{
    "_links": {
        "index": "https://vss-api.eis.utoronto.ca/v2/",
        "self": "https://vss-api.eis.utoronto.ca/v2/status"
    },
    "data": {
        "components": {
            "cli": {
                "git_sha": "d9f0f91be041df4de00eec0cd49fd27ffce2254c",
                "updated": "2019-09-23T13:28:36.889357Z",
                "version": "0.2.3"
            },
            "sdk": {
                "git_sha": "5fd09a2401d81a17041b93c1a947368e6aca3ca4",
                "updated": "2019-09-20T19:36:00.983241Z",
                "version": "0.9.41"
            }
        },
        "git_sha": "3ccb690cd153d6056ef6673648c75c7bf5301f93",
        "hostname": "33dd74657357",
        "name": "api_v2",
        "version": "v2.4.3"
    },
    "meta": {
        "count": 5,
        "time": "0.00431s",
        "user": "josem"
    }
}