Get a data set

get/sessions/{sessionId}/data/{libref}/{tableName}
Internal-Use Only

Returns information about a data set.

Request Samples

1

Response Samples

1{
2 "bookmarkLength": 12,
3 "compressionRoutine": "NO",
4 "modifiedTimeStamp": "2018-05-04T18:02:27.780000Z",
5 "creationTimeStamp": "2018-05-04T18:02:27.749000Z",
6 "engine": "V9",
7 "id": "AFGHANISTAN",
8 "label": "AFGHANISTAN - Source: GfkGeoMarketing - 2012 ",
9 "libref": "MAPSGFK",
10 "encoding": "Default",
11 "links": [
12 {
13 "href": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN",
14 "method": "GET",
15 "rel": "self",
16 "type": "application/vnd.sas.compute.data.table",
17 "uri": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN"
18 },
19 {
20 "href": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN",
21 "method": "GET",
22 "rel": "alternate",
23 "type": "application/vnd.sas.compute.data.table.summary",
24 "uri": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN"
25 },
26 {
27 "href": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/rows",
28 "itemType": "application/vnd.sas.compute.data.table.row",
29 "method": "GET",
30 "rel": "rows",
31 "type": "application/vnd.sas.collection",
32 "uri": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/rows"
33 },
34 {
35 "href": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/rows",
36 "method": "GET",
37 "rel": "rowsAsCSV",
38 "type": "text/csv",
39 "uri": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/rows"
40 },
41 {
42 "href": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/rowSet",
43 "method": "GET",
44 "rel": "rowSet",
45 "type": "application/vnd.sas.compute.data.table.row.set",
46 "uri": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/rowSet"
47 },
48 {
49 "href": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/columns",
50 "itemType": "application/vnd.sas.compute.data.table.column",
51 "method": "GET",
52 "rel": "columns",
53 "type": "application/vnd.sas.collection",
54 "uri": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/columns"
55 }
56 ],
57 "logicalRecordCount": 49858,
58 "name": "AFGHANISTAN",
59 "columnCount": 10,
60 "rowCount": 49858,
61 "physicalRecordCount": 49858,
62 "recordLength": 88,
63 "version": 1
64}

Path Parameters

NameTypeRequiredDescription
libref
string<object-id>
true

Specifies the libref for the request.

sessionId
string<object-id>
true

Specifies the ID of the session.

tableName
string<object-id>
true

Specifies the table or data set to query.

Responses

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