Get a column

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

Gets a specific column from a data set.

Request Samples

1

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
columnName
string
true

Specifies the name of the column to retrieve.

libref
string
true

Specifies the libref for the request.

sessionId
string<object-id>
true

Specifies the ID of the session.

tableName
string
true

Specifies the table or data set to query.

Responses

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