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 },18 {19 "id": "AFGHANISTAN_ATTR",20 "links": [21 {22 "href": "/compute/sessions/RKEY-ses0000/data/MAPS/AFGHANISTAN_ATTR",23 "method": "GET",24 "rel": "self",25 "type": "application/vnd.sas.compute.data.table",26 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS/AFGHANISTAN_ATTR"27 }28 ],29 "name": "AFGHANISTAN_ATTR"30 },31 {32 "id": "AFRICA",33 "links": [34 {35 "href": "/compute/sessions/RKEY-ses0000/data/MAPS/AFRICA",36 "method": "GET",37 "rel": "self",38 "type": "application/vnd.sas.compute.data.table",39 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS/AFRICA"40 }41 ],42 "name": "AFRICA"43 }44 ],45 "limit": 3,46 "links": [47 {48 "href": "/compute/sessions/RKEY-ses0000/data/MAPS?start=0&limit=3",49 "itemType": "application/vnd.sas.compute.data.table.summary",50 "method": "GET",51 "rel": "self",52 "type": "application/vnd.sas.collection",53 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS?start=0&limit=3"54 },55 {56 "href": "/compute/sessions/RKEY-ses0000/data/MAPS",57 "itemType": "application/vnd.sas.compute.data.table.summary",58 "method": "GET",59 "rel": "collection",60 "type": "application/vnd.sas.collection",61 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS"62 },63 {64 "href": "/compute/sessions/RKEY-ses0000/data/MAPS?start=3&limit=3",65 "itemType": "application/vnd.sas.compute.data.table.summary",66 "method": "GET",67 "rel": "next",68 "type": "application/vnd.sas.collection",69 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS?start=3&limit=3"70 },71 {72 "href": "/compute/sessions/RKEY-ses0000/data/MAPS?start=425&limit=3",73 "itemType": "application/vnd.sas.compute.data.table.summary",74 "method": "GET",75 "rel": "last",76 "type": "application/vnd.sas.collection",77 "uri": "/compute/sessions/RKEY-ses0000/data/MAPS?start=425&limit=3"78 }79 ],80 "name": "Data Tables",81 "start": 0,82 "version": 283}
Name | Type | Required | Description |
---|---|---|---|
libref | string<object-id> | true | Specifies the libref to query. |
sessionId | string<object-id> | true | Specifies the ID of the session. |
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 |