Get fileref information
get/sessions/{sessionId}/filerefs/{fileref}
Get file information from a fileref in a session.
1{2 "accessMethod": "DISK",3 "modifiedTimeStamp": "2016-04-27T09:22:16Z",4 "fileName": "myfile.txt",5 "filePath": "/tmp/myfile.txt",6 "fileSize": 44,7 "id": "myref",8 "isDirectory": false,9 "links": [10 {11 "href": "/compute/sessions/RKEY-ses0000/filerefs/myref",12 "method": "GET",13 "rel": "self",14 "type": "application/vnd.sas.compute.fileref",15 "uri": "/compute/sessions/RKEY-ses0000/filerefs/myref"16 },17 {18 "href": "/compute/sessions/RKEY-ses0000/filerefs/myref",19 "method": "GET",20 "rel": "alternate",21 "type": "application/vnd.sas.compute.fileref.summary",22 "uri": "/compute/sessions/RKEY-ses0000/filerefs/myref"23 },24 {25 "href": "/compute/sessions/RKEY-ses0000/filerefs/myref",26 "method": "DELETE",27 "rel": "deassign",28 "uri": "/compute/sessions/RKEY-ses0000/filerefs/myref"29 },30 {31 "href": "/compute/sessions/RKEY-ses0000/filerefs/myref/content",32 "method": "GET",33 "rel": "content",34 "type": "text/plain",35 "uri": "/compute/sessions/RKEY-ses0000/filerefs/myref/content"36 },37 {38 "href": "/compute/sessions/RKEY-ses0000/filerefs/myref/content",39 "method": "PUT",40 "rel": "upload",41 "type": "text/plain",42 "uri": "/compute/sessions/RKEY-ses0000/filerefs/myref/content"43 },44 {45 "href": "/compute/sessions/RKEY-ses0000/filerefs/myref/content",46 "method": "DELETE",47 "rel": "delete",48 "uri": "/compute/sessions/RKEY-ses0000/filerefs/myref/content"49 }50 ],51 "name": "myref",52 "version": 253}
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 |