Get links for the active server

get/servers/{serverId}
Internal-Use Only

Returns links and information for the active server instance. The serverId is a unique identifier for an active SAS Compute Server instance.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf",
7 "uri": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf",
8 "type": "application/vnd.sas.compute.server"
9 },
10 {
11 "method": "GET",
12 "rel": "alternate",
13 "href": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf",
14 "uri": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf",
15 "type": "application/vnd.sas.compute.server.summary"
16 },
17 {
18 "method": "GET",
19 "rel": "collection",
20 "href": "/compute/servers",
21 "uri": "/compute/servers",
22 "type": "application/vnd.sas.collection",
23 "itemType": "application/vnd.sas.compute.server"
24 },
25 {
26 "method": "GET",
27 "rel": "state",
28 "href": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf/state",
29 "uri": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf/state",
30 "type": "text/plain"
31 },
32 {
33 "method": "GET",
34 "rel": "sessions",
35 "href": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf/sessions",
36 "uri": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf/sessions",
37 "type": "application/vnd.sas.collection",
38 "itemType": "application/vnd.sas.compute.session"
39 },
40 {
41 "method": "POST",
42 "rel": "createsession",
43 "href": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf/sessions",
44 "uri": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf/sessions",
45 "type": "application/vnd.sas.compute.session"
46 },
47 {
48 "method": "DELETE",
49 "rel": "delete",
50 "href": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf",
51 "uri": "/compute/servers/fc40be99-470c-4142-83c5-2ca7068f28bf"
52 }
53 ],
54 "contextName": "MyApp",
55 "id": "fc40be99-470c-4142-83c5-2ca7068f28bf"
56}

Path Parameters

NameTypeRequiredDescription
serverId
string
true

Returns the active server for this server identifier.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
404Not FoundNo server exists at the requested path.Schema