Get a directory member

get/sessions/{sessionId}/filerefs/{fileref}

Gets information about a member of a directory fileref.

Request Samples

1

Response Samples

1{
2 "id": "myfile.txt",
3 "links": [
4 {
5 "href": "/compute/sessions/RKEY-ses0000/filerefs/mydir?member=myfile.txt",
6 "method": "GET",
7 "rel": "self",
8 "type": "application/vnd.sas.compute.fileref.directory.member",
9 "uri": "/compute/sessions/RKEY-ses0000/filerefs/mydir?member=myfile.txt"
10 },
11 {
12 "href": "/compute/sessions/RKEY-ses0000/filerefs?parent=mydir",
13 "method": "POST",
14 "rel": "assign",
15 "responseType": "application/vnd.sas.compute.fileref",
16 "type": "application/vnd.sas.compute.fileref.request",
17 "uri": "/compute/sessions/RKEY-ses0000/filerefs?parent=mydir"
18 }
19 ],
20 "name": "myfile.txt",
21 "version": 1
22}

Path Parameters

NameTypeRequiredDescription
fileref
string
true

Specifies the fileref name. The name must be eight or fewer characters.

sessionId
string<object-id>
true

Specifies the ID of the session.

Query Parameters

NameTypeRequiredDescription
member
string
true

Specifies the name of the member to return.

Responses

StatusMeaningDescription
200OK

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid.

Schema
404Not Found

No resource exists at the requested path.

Schema