Get a list of acceptable folder types

get/folderTypes
Internal-Use Only

Retrieves the list of folder types that are recognized by the folders service. Returns a collection of application/vnd.sas.content.folder.type+json objects.

Request Samples

1

Response Samples

1{
2 "version": 2,
3 "accept": "application/vnd.sas.content.folder.type",
4 "count": 9,
5 "start": 0,
6 "limit": 0,
7 "name": "folderTypes",
8 "items": [
9 {
10 "name": "applicationDataFolder",
11 "label": "Application Data Folder",
12 "userAssignable": false,
13 "version": 1
14 },
15 {
16 "name": "folder",
17 "label": "Folder",
18 "userAssignable": true,
19 "version": 1
20 },
21 {
22 "name": "favoritesFolder",
23 "label": "Favorites Folder",
24 "userAssignable": true,
25 "version": 1
26 },
27 {
28 "name": "historyFolder",
29 "label": "History Folder",
30 "userAssignable": true,
31 "version": 1
32 },
33 {
34 "name": "myFolder",
35 "label": "Personal Folder",
36 "userAssignable": false,
37 "version": 1
38 },
39 {
40 "name": "userFolder",
41 "label": "User Home Folder",
42 "userAssignable": false,
43 "version": 1
44 },
45 {
46 "name": "userRoot",
47 "label": "Users Root folder",
48 "userAssignable": false,
49 "version": 1
50 },
51 {
52 "name": "trashFolder",
53 "label": "Recycle Bin Folder",
54 "userAssignable": false,
55 "version": 1
56 },
57 {
58 "name": "hiddenFolder",
59 "label": "Hidden Folder",
60 "userAssignable": true,
61 "version": 1
62 }
63 ],
64 "links": [
65 {
66 "method": "GET",
67 "rel": "collection",
68 "href": "/folders/folderTypes",
69 "uri": "/folders/folderTypes",
70 "type": "application/vnd.sas.collection"
71 },
72 {
73 "method": "GET",
74 "rel": "self",
75 "href": "/folders/folderTypes",
76 "uri": "/folders/folderTypes",
77 "type": "application/vnd.sas.collection"
78 }
79 ]
80}

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema