Get a directory member
get/sessions/{sessionId}/filerefs/{fileref}
Gets information about a member of a directory fileref.
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": 122}
Name | Type | Required | Description |
---|---|---|---|
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. |
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 |