Get a Caslib

get/servers/{serverName}/caslibs/{caslibName}
Internal-Use Only

Retrieves a single Caslib.

Request Samples

1

Response Samples

1{
2 "name": "CASUSER(userId)",
3 "metadataId": "26ea7916-86af-4547-9180-9876512345cc",
4 "description": "Personal File System caslib",
5 "path": "/u/userId/",
6 "scope": "global",
7 "type": "PATH",
8 "hidden": false,
9 "transient": false,
10 "version": 1,
11 "attributes": [
12 {
13 "key": "active",
14 "value": {
15 "false": null
16 }
17 },
18 {
19 "key": "personal",
20 "value": {
21 "true": null
22 }
23 },
24 {
25 "key": "subDirs",
26 "value": {
27 "true": null
28 }
29 }
30 ],
31 "links": [
32 {
33 "href": "/casManagement/servers/casServer/caslibs",
34 "itemType": "application/vnd.sas.cas.caslib",
35 "method": "GET",
36 "rel": "up",
37 "type": "application/vnd.sas.collection",
38 "uri": "/casManagement/servers/casServer/caslibs"
39 },
40 {
41 "href": "/casManagement/servers/casServer/caslibs/CASUSER(userId)",
42 "method": "GET",
43 "rel": "self",
44 "type": "application/vnd.sas.cas.caslib",
45 "uri": "/casManagement/servers/casServer/caslibs/CASUSER(userId)"
46 },
47 {
48 "href": "casManagement/servers/casServer/caslibs/CASUSER(userId)",
49 "method": "PATCH",
50 "rel": "patch",
51 "responseType": "application/vnd.sas.cas.caslib",
52 "type": "application/vnd.sas.cas.caslib",
53 "uri": "/casManagement/servers/casServer/caslibs/CASUSER(userId)"
54 },
55 {
56 "href": "/casManagement/servers/casServer/caslibs/CASUSER(userId)",
57 "method": "DELETE",
58 "rel": "delete",
59 "uri": "/casManagement/servers/casServer/caslibs/CASUSER(userId)"
60 },
61 {
62 "href": "/casManagement/servers/casServer/caslibs/CASUSER(userId)/tables",
63 "method": "GET",
64 "rel": "tables",
65 "type": "application/vnd.sas.collection",
66 "uri": "/casManagement/servers/casServer/caslibs/CASUSER(userId)/tables"
67 },
68 {
69 "href": "/dataSources/providers/cas/sources/cas-shared-default~fs~CASUSER(userId)",
70 "method": "GET",
71 "rel": "dataSource",
72 "uri": "/dataSources/providers/cas/sources/cas-shared-default~fs~CASUSER(userId)",
73 "type": "application/vnd.sas.data.source"
74 }
75 ]
76}

Path Parameters

NameTypeRequiredDescription
caslibName
string
true

The Caslib name being requested.

serverName
string
true

Server name containing the caslibs being requested.

Query Parameters

NameTypeRequiredDescription
sessionId
string
false

Session ID (used when a session-specific Caslib is being requested).

Responses

StatusMeaningDescription
200OKThe request succeeded. Information about the requested Caslib was returned.Schema
400Bad RequestThe request was invalid.Schema
404Not FoundThe requested CAS server or Caslib does not exist.
409ConflictThe request could not be completed due to a conflict with the current state of the resource. Details are included in the response body.