Cas

Get grid information

Get information about the CAS servers.

get/cas

Request

  • Base URL: http://mock-cas.apifirst.unx.sas.com/cas
  • URL: http://mock-cas.apifirst.unx.sas.com/cas/cas
  • Auth: one of:
    • HTTP basic
    • OAuth 2 (implicit, authorization URL https://site-specific-url)

Response

Successful response

type'Controller' | 'Worker' | 'BackupController' | 'Backup'

CAS Server type. 'BackupController' and 'Backup' are synonyms. Compare for both values to determine if server is a backup controller.

state'Starting Up' | 'Running' | 'Shutting Down'

CAS Server State

clientinteger

Client port.

controlinteger

Control port.

idleTimeinteger

Amount of time in seconds since the last session create/destroy or node create/destroy.

maxSessionsinteger

The maximum number of sessions allowed to run on the server at the same time.

sessionCountinteger

Number of sessions currently running.

createdSessionsCountinteger

Number of sessions created since the server started.

Example response

{
  "client": 5570,
  "control": 5571,
  "idleTime": 315619314,
  "maxSessions": 5000,
  "sessionCount": 1,
  "createdSessionsCount": 1727,
  "lastSessionActivity": {
    "uuid": "fb6ded1b-3e23-2446-becb-899709060a0f",
    "gmtTime": 2306676112,
    "event": "destroy"
  },
  "license": {
    "gracePeriod": 45,
    "licenseExpires": "02May2023:00:00:00",
    "licensePath": "/cas/license/license.sas",
    "maxCPUs": 1,
    "maxSessions": 5000,
    "sessionCount": 1,
    "siteName": "SCI...",
    "siteNumber": 70180938,
    "startCPU": 1,
    "unusedSessions": 4999,
    "warningPeriod": 46
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.