Updates multiple application settings

post/admin/settings
Internal-Use Only

Updates the values of multiple application settings.

Request Samples

1

Response Samples

1{
2 "links": [
3 {
4 "method": "GET",
5 "rel": "self",
6 "href": "/svi-sand/admin/settings?start=0&limit=10",
7 "uri": "/svi-sand/admin/settings?start=0&limit=10",
8 "type": "application/vnd.sas.collection",
9 "itemType": "application/vnd.sas.sand.setting"
10 },
11 {
12 "method": "GET",
13 "rel": "collection",
14 "href": "/svi-sand/admin/settings",
15 "uri": "/svi-sand/admin/settings",
16 "type": "application/vnd.sas.collection",
17 "itemType": "application/vnd.sas.sand.setting"
18 },
19 {
20 "method": "POST",
21 "rel": "setSettings",
22 "href": "/svi-sand/admin/settings",
23 "uri": "/svi-sand/admin/settings",
24 "type": "application/vnd.sas.collection",
25 "responseType": "application/vnd.sas.collection",
26 "itemType": "application/vnd.sas.sand.setting",
27 "responseItemType": "application/vnd.sas.sand.setting"
28 }
29 ],
30 "name": "settings",
31 "accept": "application/vnd.sas.sand.setting",
32 "start": 0,
33 "count": 6,
34 "items": [
35 {
36 "name": "phoneticSearchEnabled",
37 "value": false,
38 "links": [
39 {
40 "method": "GET",
41 "rel": "self",
42 "href": "/svi-sand/admin/settings/phoneticSearchEnabled",
43 "uri": "/svi-sand/admin/settings/phoneticSearchEnabled",
44 "type": "application/vnd.sas.sand.setting"
45 },
46 {
47 "method": "PUT",
48 "rel": "update",
49 "href": "/svi-sand/admin/settings/phoneticSearchEnabled",
50 "uri": "/svi-sand/admin/settings/phoneticSearchEnabled",
51 "type": "application/vnd.sas.sand.setting",
52 "responseType": "application/vnd.sas.sand.setting"
53 },
54 {
55 "method": "GET",
56 "rel": "up",
57 "href": "/svi-sand/admin/settings",
58 "uri": "/svi-sand/admin/settings",
59 "type": "application/vnd.sas.collection",
60 "itemType": "application/vnd.sas.sand.setting"
61 }
62 ]
63 },
64 {
65 "name": "phoneticDefaultSearchEnabled",
66 "value": false,
67 "links": [
68 {
69 "method": "GET",
70 "rel": "self",
71 "href": "/svi-sand/admin/settings/phoneticDefaultSearchEnabled",
72 "uri": "/svi-sand/admin/settings/phoneticDefaultSearchEnabled",
73 "type": "application/vnd.sas.sand.setting"
74 },
75 {
76 "method": "PUT",
77 "rel": "update",
78 "href": "/svi-sand/admin/settings/phoneticDefaultSearchEnabled",
79 "uri": "/svi-sand/admin/settings/phoneticDefaultSearchEnabled",
80 "type": "application/vnd.sas.sand.setting",
81 "responseType": "application/vnd.sas.sand.setting"
82 },
83 {
84 "method": "GET",
85 "rel": "up",
86 "href": "/svi-sand/admin/settings",
87 "uri": "/svi-sand/admin/settings",
88 "type": "application/vnd.sas.collection",
89 "itemType": "application/vnd.sas.sand.setting"
90 }
91 ]
92 },
93 {
94 "name": "phoneticLabelSearchEnabled",
95 "value": false,
96 "links": [
97 {
98 "method": "GET",
99 "rel": "self",
100 "href": "/svi-sand/admin/settings/phoneticLabelSearchEnabled",
101 "uri": "/svi-sand/admin/settings/phoneticLabelSearchEnabled",
102 "type": "application/vnd.sas.sand.setting"
103 },
104 {
105 "method": "PUT",
106 "rel": "update",
107 "href": "/svi-sand/admin/settings/phoneticLabelSearchEnabled",
108 "uri": "/svi-sand/admin/settings/phoneticLabelSearchEnabled",
109 "type": "application/vnd.sas.sand.setting",
110 "responseType": "application/vnd.sas.sand.setting"
111 },
112 {
113 "method": "GET",
114 "rel": "up",
115 "href": "/svi-sand/admin/settings",
116 "uri": "/svi-sand/admin/settings",
117 "type": "application/vnd.sas.collection",
118 "itemType": "application/vnd.sas.sand.setting"
119 }
120 ]
121 },
122 {
123 "name": "synonymSearchEnabled",
124 "value": false,
125 "links": [
126 {
127 "method": "GET",
128 "rel": "self",
129 "href": "/svi-sand/admin/settings/synonymSearchEnabled",
130 "uri": "/svi-sand/admin/settings/synonymSearchEnabled",
131 "type": "application/vnd.sas.sand.setting"
132 },
133 {
134 "method": "PUT",
135 "rel": "update",
136 "href": "/svi-sand/admin/settings/synonymSearchEnabled",
137 "uri": "/svi-sand/admin/settings/synonymSearchEnabled",
138 "type": "application/vnd.sas.sand.setting",
139 "responseType": "application/vnd.sas.sand.setting"
140 },
141 {
142 "method": "GET",
143 "rel": "up",
144 "href": "/svi-sand/admin/settings",
145 "uri": "/svi-sand/admin/settings",
146 "type": "application/vnd.sas.collection",
147 "itemType": "application/vnd.sas.sand.setting"
148 }
149 ]
150 },
151 {
152 "name": "synonymDefaultSearchEnabled",
153 "value": false,
154 "links": [
155 {
156 "method": "GET",
157 "rel": "self",
158 "href": "/svi-sand/admin/settings/synonymDefaultSearchEnabled",
159 "uri": "/svi-sand/admin/settings/synonymDefaultSearchEnabled",
160 "type": "application/vnd.sas.sand.setting"
161 },
162 {
163 "method": "PUT",
164 "rel": "update",
165 "href": "/svi-sand/admin/settings/synonymDefaultSearchEnabled",
166 "uri": "/svi-sand/admin/settings/synonymDefaultSearchEnabled",
167 "type": "application/vnd.sas.sand.setting",
168 "responseType": "application/vnd.sas.sand.setting"
169 },
170 {
171 "method": "GET",
172 "rel": "up",
173 "href": "/svi-sand/admin/settings",
174 "uri": "/svi-sand/admin/settings",
175 "type": "application/vnd.sas.collection",
176 "itemType": "application/vnd.sas.sand.setting"
177 }
178 ]
179 },
180 {
181 "name": "synonymLabelSearchEnabled",
182 "value": false,
183 "links": [
184 {
185 "method": "GET",
186 "rel": "self",
187 "href": "/svi-sand/admin/settings/synonymLabelSearchEnabled",
188 "uri": "/svi-sand/admin/settings/synonymLabelSearchEnabled",
189 "type": "application/vnd.sas.sand.setting"
190 },
191 {
192 "method": "PUT",
193 "rel": "update",
194 "href": "/svi-sand/admin/settings/synonymLabelSearchEnabled",
195 "uri": "/svi-sand/admin/settings/synonymLabelSearchEnabled",
196 "type": "application/vnd.sas.sand.setting",
197 "responseType": "application/vnd.sas.sand.setting"
198 },
199 {
200 "method": "GET",
201 "rel": "up",
202 "href": "/svi-sand/admin/settings",
203 "uri": "/svi-sand/admin/settings",
204 "type": "application/vnd.sas.collection",
205 "itemType": "application/vnd.sas.sand.setting"
206 }
207 ]
208 }
209 ],
210 "limit": 10,
211 "version": 2
212}

Request Body

A collection of application settings.

NameTypeRequiredDescription
BaseCollection2
false

This is a base schema used to define paginated collections of resources. This base schema is extended by other schemas in APIs by adding an "items" array property. These extensions define the application/vnd.sas.collection media type (version 2).

object
false

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
400Bad RequestThe request is malformed or contains invalid parameter values.Schema
404Not FoundOne of the settings does not exist.Schema