Get fileref summary information

get/sessions/{sessionId}/filerefs/{fileref}
Internal-Use Only

Gets fileref summary information for a fileref in a session.

Request Samples

1

Response Samples

1{
2 "accept": "application/vnd.sas.compute.fileref.summary",
3 "count": 1,
4 "items": [
5 {
6 "id": "myref",
7 "links": [
8 {
9 "href": "/compute/sessions/RKEY-ses0000/filerefs/myref",
10 "method": "GET",
11 "rel": "self",
12 "type": "application/vnd.sas.compute.fileref",
13 "uri": "/compute/sessions/RKEY-ses0000/filerefs/myref"
14 },
15 {
16 "href": "/compute/sessions/RKEY-ses0000/filerefs/myref",
17 "method": "GET",
18 "rel": "alternate",
19 "type": "application/vnd.sas.compute.fileref.summary",
20 "uri": "/compute/sessions/RKEY-ses0000/filerefs/myref"
21 },
22 {
23 "href": "/compute/sessions/RKEY-ses0000/filerefs/myref",
24 "method": "DELETE",
25 "rel": "deassign",
26 "uri": "/compute/sessions/RKEY-ses0000/filerefs/myref"
27 }
28 ],
29 "name": "myref"
30 }
31 ],
32 "limit": 10,
33 "links": [
34 {
35 "href": "/compute/sessions/RKEY-ses0000/filerefs?start=0&limit=1",
36 "itemType": "application/vnd.sas.compute.fileref.summary",
37 "method": "GET",
38 "rel": "self",
39 "type": "application/vnd.sas.collection",
40 "uri": "/compute/sessions/RKEY-ses0000/filerefs?start=0&limit=1"
41 },
42 {
43 "href": "/compute/sessions/RKEY-ses0000/filerefs",
44 "itemType": "application/vnd.sas.compute.fileref.summary",
45 "method": "GET",
46 "rel": "collection",
47 "type": "application/vnd.sas.collection",
48 "uri": "/compute/sessions/RKEY-ses0000/filerefs"
49 }
50 ],
51 "name": "Current Filerefs",
52 "start": 0,
53 "version": 2
54}

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.

Responses

StatusMeaningDescription
200OKThe request succeeded.HeadersSchema
400Bad RequestThe request was invalid.Schema
404Not FoundNo resource exists at the requested path.Schema