Get a CAS server
get/servers/{serverName}
Returns a specific CAS server definition.
1{2 "version": 2,3 "name": "cas-shared-default",4 "description": "controller",5 "host": "grid.example.com",6 "port": 5570,7 "restPort": 8777,8 "restProtocol": "http",9 "links": [10 {11 "method": "GET",12 "rel": "up",13 "href": "/casManagement/servers",14 "uri": "/casManagement/servers",15 "type": "application/vnd.sas.collection",16 "itemType": "application/vnd.sas.cas.server"17 },18 {19 "method": "GET",20 "rel": "self",21 "href": "/casManagement/servers/cas-shared-default",22 "uri": "/casManagement/servers/cas-shared-default",23 "type": "application/vnd.sas.cas.server"24 },25 {26 "method": "GET",27 "rel": "connection",28 "href": "/casManagement/servers/cas-shared-default/connection",29 "uri": "/casManagement/servers/cas-shared-default/connection",30 "type": "application/vnd.sas.cas.server.connection"31 },32 {33 "method": "GET",34 "rel": "state",35 "href": "/casManagement/servers/cas-shared-default/state",36 "uri": "/casManagement/servers/cas-shared-default/state",37 "type": "text/plain"38 },39 {40 "method": "PUT",41 "rel": "updateState",42 "href": "/casManagement/servers/cas-shared-default/state",43 "uri": "/casManagement/servers/cas-shared-default/state",44 "type": "text/plain",45 "responseType": "application/json;text/plain"46 },47 {48 "method": "GET",49 "rel": "nodes",50 "href": "/casManagement/servers/cas-shared-default/nodes",51 "uri": "/casManagement/servers/cas-shared-default/nodes",52 "type": "application/vnd.sas.collection",53 "itemType": "application/vnd.sas.cas.server.node"54 },55 {56 "method": "GET",57 "rel": "metrics",58 "href": "/casManagement/servers/cas-shared-default/metrics",59 "uri": "/casManagement/servers/cas-shared-default/metrics",60 "type": "application/vnd.sas.cas.server.metrics"61 },62 {63 "method": "GET",64 "rel": "sessions",65 "href": "/casManagement/servers/cas-shared-default/sessions",66 "uri": "/casManagement/servers/cas-shared-default/sessions",67 "type": "application/vnd.sas.collection",68 "itemType": "application/vnd.sas.cas.session.summary"69 },70 {71 "method": "POST",72 "rel": "createSession",73 "href": "/casManagement/servers/cas-shared-default/sessions",74 "uri": "/casManagement/servers/cas-shared-default/sessions",75 "type": "application/vnd.sas.cas.session",76 "responseType": "application/vnd.sas.cas.session"77 },78 {79 "method": "GET",80 "rel": "caslibs",81 "href": "/casManagement/servers/cas-shared-default/caslibs",82 "uri": "/casManagement/servers/cas-shared-default/caslibs",83 "type": "application/vnd.sas.collection",84 "itemType": "application/vnd.sas.cas.caslib"85 },86 {87 "method": "GET",88 "rel": "casProxy",89 "href": "/casProxy/servers/cas-shared-default/cas",90 "uri": "/casProxy/servers/cas-shared-default/cas",91 "type": "application/json"92 },93 {94 "method": "GET",95 "rel": "dataSource",96 "href": "/dataSources/providers/cas/sources/cas-shared-default",97 "uri": "/dataSources/providers/cas/sources/cas-shared-default",98 "type": "application/vnd.sas.data.source"99 }100 ],101 "tags": {102 "key": "keyName",103 "value": "value"104 }105}
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. The CAS server definition was returned | Schema | |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | The requested CAS server does not exist. |