List filerefs in a session

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

Returns a list of all the filerefs that are defined for 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
sessionId
string<object-id>
true

Specifies the ID of the session.

Query Parameters

NameTypeRequiredDescription
filter
string<filter-criteria>
false

Specifies filter criteria for returned filerefs.

limit
integer
false

Specifies the maximum number of filerefs to return.

Default:
10
start
integer
false

Specifies the offset of the first fileref to return.

Default:
0

Header Parameters

NameTypeRequiredDescription
Accept-Item
string
true

Specifies the desired fileref representation. The Accept-Item options are: application/vnd.sas.compute.fileref+json application/vnd.sas.compute.fileref.summary+json blank If the application/vnd.sas.compute.fileref.summary+json type is specified or no Accept-Item header is specified, the filerefs are returned as summary representation fileref objects.

Allowed value:
application/vnd.sas.compute.fileref+json

Responses

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