Retrieve listing information for a session
get/sessions/{sessionId}/listing
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.
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": 248}
Name | Type | Required | Description |
---|---|---|---|
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. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Headers | Schema |
400 | Bad Request | The request was invalid. | Schema | |
404 | Not Found | No resource exists at the requested path. | Schema |