Retrieve listing information for a session

get/sessions/{sessionId}/listing
Internal-Use Only

Retrieves the listing output associated with a session. This operation returns a collection in which each entry is of the type application/vnd.sas.compute.log.line.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/listing?start=0&limit=5",
7 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/listing?start=0&limit=5",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.compute.log.line"
10 },
11 {
12 "method": "GET",
13 "rel": "collection",
14 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/listing",
15 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/listing",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.compute.log.line"
18 }
19 ],
20 "name": "Session List",
21 "accept": "application/vnd.sas.compute.log.line",
22 "start": 0,
23 "count": 5,
24 "items": [
25 {
26 "line": "1 The SAS System 15:26 Friday, May 20, 2016 1",
27 "type": "title"
28 },
29 {
30 "line": " ",
31 "type": "title"
32 },
33 {
34 "line": " Obs x",
35 "type": "hilighted"
36 },
37 {
38 "line": " ",
39 "type": "normal"
40 },
41 {
42 "line": " 1 3",
43 "type": "normal"
44 }
45 ],
46 "limit": 5,
47 "version": 2
48}

Path Parameters

NameTypeRequiredDescription
sessionId
string
true

Specifies the ID of the session.

Query Parameters

NameTypeRequiredDescription
limit
integer<int32>
false

Specifies the number of items in this page.

Default:
100
start
integer<int64>
false

Specifies the offset of the first item in the collection. The first line is at start=0.

timeout
integer
false

Specifies the request time-out in seconds.

type
string
false

Restricts listing information to those entries whose type matches the query. Specify multiple types by separating them with a '|'. For example, you might specify ?type=normal or ?type=normal|hilighted.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo resource exists at the requested path.Schema