Get data sets in a libref
get/sessions/{sessionId}/data/{libref}
Returns a collection of data sets that are associated with a specified libref. Set the Accept header on this method to application/vnd.sas.collection+json. The collection contains application/vnd.sas.compute.data.table.summary items. Standard paging options are provided.
1{2 "accept": "application/vnd.sas.compute.data.table.summary",3 "count": 428,4 "items": [5 {6 "id": "AFGHANISTAN",7 "links": [8 {9 "href": "/compute/sessions/RKEY-ses0000/data/MAPS/AFGHANISTAN",10 "method": "GET",11 "rel": "self",12 "type": "application/vnd.sas.compute.data.table",13 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS/AFGHANISTAN"14 }15 ],16 "name": "AFGHANISTAN",17 "type": "DATA",18 "version": 219 },20 {21 "id": "AFGHANISTAN_ATTR",22 "links": [23 {24 "href": "/compute/sessions/RKEY-ses0000/data/MAPS/AFGHANISTAN_ATTR",25 "method": "GET",26 "rel": "self",27 "type": "application/vnd.sas.compute.data.table",28 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS/AFGHANISTAN_ATTR"29 }30 ],31 "name": "AFGHANISTAN_ATTR",32 "type": "DATA",33 "version": 234 },35 {36 "id": "AFRICA",37 "links": [38 {39 "href": "/compute/sessions/RKEY-ses0000/data/MAPS/AFRICA",40 "method": "GET",41 "rel": "self",42 "type": "application/vnd.sas.compute.data.table",43 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS/AFRICA"44 }45 ],46 "name": "AFRICA",47 "type": "DATA",48 "version": 249 }50 ],51 "limit": 3,52 "links": [53 {54 "href": "/compute/sessions/RKEY-ses0000/data/MAPS?start=0&limit=3",55 "itemType": "application/vnd.sas.compute.data.table.summary",56 "method": "GET",57 "rel": "self",58 "type": "application/vnd.sas.collection",59 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS?start=0&limit=3"60 },61 {62 "href": "/compute/sessions/RKEY-ses0000/data/MAPS",63 "itemType": "application/vnd.sas.compute.data.table.summary",64 "method": "GET",65 "rel": "collection",66 "type": "application/vnd.sas.collection",67 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS"68 },69 {70 "href": "/compute/sessions/RKEY-ses0000/data/MAPS?start=3&limit=3",71 "itemType": "application/vnd.sas.compute.data.table.summary",72 "method": "GET",73 "rel": "next",74 "type": "application/vnd.sas.collection",75 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS?start=3&limit=3"76 },77 {78 "href": "/compute/sessions/RKEY-ses0000/data/MAPS?start=425&limit=3",79 "itemType": "application/vnd.sas.compute.data.table.summary",80 "method": "GET",81 "rel": "last",82 "type": "application/vnd.sas.collection",83 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS?start=425&limit=3"84 }85 ],86 "name": "Data Tables",87 "start": 0,88 "version": 289}| Name | Type | Required | Description |
|---|---|---|---|
sessionId | string<object-id> | true | Specifies the ID of the session. |
libref | string<object-id> | true | Specifies the libref to query. |
| Name | Type | Required | Description |
|---|---|---|---|
noCache | boolean | false | Specifies whether to force the table collection to be refreshed before it is returned. |
limit | integer | false | Specifies the maximum number of table summaries to return. Default: 10 |
start | integer | false | Specifies the offset of the first table summary to return. Default: 0 |