Return libraries in a session
get/sessions/{sessionId}/data
Provides a listing that contains summaries of the libraries that are defined in the current session.
1{2 "accept": "application/vnd.sas.compute.library.summary",3 "count": 5,4 "items": [5 {6 "id": "SASHELP",7 "links": [8 {9 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/SASHELP",10 "method": "GET",11 "rel": "self",12 "type": "application/vnd.sas.compute.library",13 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/SASHELP"14 }15 ],16 "name": "SASHELP"17 },18 {19 "id": "MAPS",20 "links": [21 {22 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/MAPS",23 "method": "GET",24 "rel": "self",25 "type": "application/vnd.sas.compute.library",26 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/MAPS"27 }28 ],29 "name": "MAPS"30 },31 {32 "id": "MAPSGFK",33 "links": [34 {35 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/MAPSGFK",36 "method": "GET",37 "rel": "self",38 "type": "application/vnd.sas.compute.library",39 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/MAPSGFK"40 }41 ],42 "name": "MAPSGFK"43 },44 {45 "id": "SASUSER",46 "links": [47 {48 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/SASUSER",49 "method": "GET",50 "rel": "self",51 "type": "application/vnd.sas.compute.library",52 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/SASUSER"53 }54 ],55 "name": "SASUSER"56 },57 {58 "id": "WORK",59 "links": [60 {61 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/WORK",62 "method": "GET",63 "rel": "self",64 "type": "application/vnd.sas.compute.library",65 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data/WORK"66 }67 ],68 "name": "WORK"69 }70 ],71 "limit": 5,72 "links": [73 {74 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data?start=0&limit=5",75 "itemType": "application/vnd.sas.compute.library.summary",76 "method": "GET",77 "rel": "self",78 "type": "application/vnd.sas.collection",79 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data?start=0&limit=5"80 },81 {82 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data",83 "itemType": "application/vnd.sas.compute.library.summary",84 "method": "GET",85 "rel": "collection",86 "type": "application/vnd.sas.collection",87 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data"88 },89 {90 "href": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data",91 "method": "POST",92 "rel": "create",93 "type": "application/vnd.sas.compute.library.summary",94 "uri": "/compute/sessions/912e75cb-3e8c-4466-a330-70742325cf71-ses0000/data"95 }96 ],97 "name": "SAS Libraries",98 "start": 0,99 "version": 2100}
Name | Type | Required | Description |
---|---|---|---|
sessionId | string<object-id> | true | Specifies the ID of the session. |
Name | Type | Required | Description |
---|---|---|---|
noCache | boolean | false | Specifies whether to force the library collection to be refreshed before it is returned. Default: false |
limit | integer | false | Specifies the maximum number of libraries to return. Default: 10 |
start | integer | false | Specifies the offset of the first library to return. Default: 0 |
Name | Type | Required | Description |
---|---|---|---|
Accept-Item | string | false | Specifies the desired library representation. The Accept-Item options are: application/vnd.sas.compute.library+json application/vnd.sas.compute.library.summary+json blank If the application/vnd.sas.compute.library.summary+json type is specified or no Accept-Item header is specified, then the libraries are returned as summary representation library objects. Allowed values: application/vnd.sas.compute.library+jsonapplication/vnd.sas.compute.library.summary+json |