Get a column

get/sessions/{sessionId}/data/{libref}/{tableName}/columns/{columnName}

Gets a specific column from a data set.

Request Samples

Response Samples

1{
2 "byteLength": 128,
3 "charLength": 32,
4 "id": "ID",
5 "index": 1,
6 "label": "Districts code",
7 "length": 128,
8 "links": [
9 {
10 "href": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/columns/ID",
11 "method": "GET",
12 "rel": "self",
13 "type": "application/vnd.sas.compute.data.table.column",
14 "uri": "/compute/sessions/RKEY-ses0000/data/MAPSGFK/AFGHANISTAN/columns/ID"
15 }
16 ],
17 "name": "ID",
18 "type": "VARCHAR",
19 "version": 2
20}

Path Parameters

NameTypeRequiredDescription
sessionId
string<object-id>
true

Specifies the ID of the session.

libref
string
true

Specifies the libref for the request.

tableName
string
true

Specifies the table or data set to query.

columnName
string
true

Specifies the name of the column to retrieve.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
404Not Found

No resource exists at the requested path.

Schema