Get a list of top-level links

get/
Internal-Use Only

Returns a list of links to the top-level collections surfaced through this API. These top-level links include /folders and /ancestors.

Request Samples

1

Response Samples

1{
2 "version": 1,
3 "links": [
4 {
5 "method": "GET",
6 "rel": "folders",
7 "href": "/folders/folders",
8 "uri": "/folders/folders",
9 "type": "application/vnd.sas.collection"
10 },
11 {
12 "method": "POST",
13 "rel": "createFolder",
14 "href": "/folders/folders",
15 "uri": "/folders/folders",
16 "type": "application/vnd.sas.content.folder"
17 },
18 {
19 "method": "GET",
20 "rel": "rootFolders",
21 "href": "/folders/rootFolders",
22 "uri": "/folders/rootFolders",
23 "type": "application/vnd.sas.collection"
24 },
25 {
26 "method": "GET",
27 "rel": "folderTypes",
28 "href": "/folders/folderTypes",
29 "uri": "/folders/folderTypes",
30 "type": "application/vnd.sas.collection"
31 },
32 {
33 "method": "GET",
34 "rel": "delegateInfo",
35 "href": "/folders/delegateInfo",
36 "uri": "/folders/delegateInfo",
37 "type": "application/vnd.sas.collection"
38 },
39 {
40 "method": "GET",
41 "rel": "delegateFolders",
42 "href": "/folders/delegateFolders",
43 "uri": "/folders/delegateFolders",
44 "type": "application/vnd.sas.collection"
45 },
46 {
47 "method": "PUT",
48 "rel": "validateRootFolderName",
49 "href": "/folders/commons/validations/folders/@root/members/@new/name?value={newname}&type=folder",
50 "uri": "/folders/commons/validations/folders/@root/members/@new/name?value={newname}&type=folder",
51 "type": "application/vnd.sas.validation"
52 },
53 {
54 "method": "GET",
55 "rel": "ancestors",
56 "href": "/folders/ancestors?childUri={resourceUri}",
57 "uri": "/folders/ancestors?childUri={resourceUri}",
58 "type": "application/vnd.sas.content.folder.ancestor"
59 },
60 {
61 "method": "GET",
62 "rel": "myFolder",
63 "href": "/folders/folders/@myFolder",
64 "uri": "/folders/folders/@myFolder",
65 "type": "application/vnd.sas.content.folder",
66 "title": "My Folder for Current User"
67 },
68 {
69 "method": "GET",
70 "rel": "myHistory",
71 "href": "/folders/folders/@myHistory",
72 "uri": "/folders/folders/@myHistory",
73 "type": "application/vnd.sas.content.folder",
74 "title": "My History Folder for Current User"
75 },
76 {
77 "method": "GET",
78 "rel": "myFavorites",
79 "href": "/folders/folders/@myFavorites",
80 "uri": "/folders/folders/@myFavorites",
81 "type": "application/vnd.sas.content.folder",
82 "title": "My Favorites Folder for Current User"
83 },
84 {
85 "method": "GET",
86 "rel": "appData",
87 "href": "/folders/folders/@appDataFolder",
88 "uri": "/folders/folders/@appDataFolder",
89 "type": "application/vnd.sas.content.folder",
90 "title": "Application Data Folder for Current User"
91 },
92 {
93 "method": "GET",
94 "rel": "recycleBin",
95 "href": "/folders/folders/@myRecycleBin",
96 "uri": "/folders/folders/@myRecycleBin",
97 "type": "application/vnd.sas.content.folder",
98 "title": "Recycle Bin Folder for Current User"
99 },
100 {
101 "method": "GET",
102 "rel": "public",
103 "href": "/folders/folders/@public",
104 "uri": "/folders/folders/@public",
105 "type": "application/vnd.sas.content.folder",
106 "title": "Public Folder"
107 },
108 {
109 "method": "GET",
110 "rel": "products",
111 "href": "/folders/folders/@products",
112 "uri": "/folders/folders/@products",
113 "type": "application/vnd.sas.content.folder",
114 "title": "Products Folder"
115 },
116 {
117 "method": "PUT",
118 "rel": "validateName",
119 "href": "/folders/commons/validations/folders/@new/name?value={newname}&parentFolderUri={parentFolderUri}",
120 "uri": "/folders/commons/validations/folders/@new/name?value={newname}&parentFolderUri={parentFolderUri}",
121 "type": "application/vnd.sas.content.folder",
122 "title": "Validate New Folder Name"
123 },
124 {
125 "method": "POST",
126 "rel": "createSubfolder",
127 "href": "/folders/folders?parentFolderUri=/folders/folders/{parentId}",
128 "uri": "/folders/folders?parentFolderUri=/folders/folders/{parentId}",
129 "type": "application/vnd.sas.content.folder"
130 }
131 ]
132}

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema