@openrails/contentkit-ui 0.70.0 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +98 -10
- package/dist/client/content/bans.d.ts +2 -0
- package/dist/client/content/bans.js +24 -12
- package/dist/client/content/bans.js.map +1 -1
- package/dist/client/content/comments.d.ts +4 -2
- package/dist/client/content/comments.js.map +1 -1
- package/dist/client/content/polls.d.ts +10 -3
- package/dist/client/content/polls.js.map +1 -1
- package/dist/client/content/posts.d.ts +4 -4
- package/dist/client/content/posts.js.map +1 -1
- package/dist/client/generated/error-codes.js +2 -2
- package/dist/client/generated/error-codes.js.map +1 -1
- package/dist/client/generated/routes.d.ts +146 -120
- package/dist/client/generated/routes.js +245 -117
- package/dist/client/generated/routes.js.map +1 -1
- package/dist/client/generated/wire.d.ts +5 -0
- package/dist/client/generated/wire.js.map +1 -1
- package/dist/client/index.d.ts +2 -2
- package/dist/client/taxonomy.d.ts +6 -2
- package/dist/client/taxonomy.js +7 -0
- package/dist/client/taxonomy.js.map +1 -1
- package/dist/components/admin/poll-manager.d.ts +28 -0
- package/dist/components/admin/poll-manager.js +297 -0
- package/dist/components/admin/poll-manager.js.map +1 -0
- package/dist/components/admin/post-manager.d.ts +45 -0
- package/dist/components/admin/post-manager.js +602 -0
- package/dist/components/admin/post-manager.js.map +1 -0
- package/dist/components/admin/shell.d.ts +73 -0
- package/dist/components/admin/shell.js +148 -0
- package/dist/components/admin/shell.js.map +1 -0
- package/dist/components/admin/taxonomy-manager.d.ts +54 -0
- package/dist/components/admin/taxonomy-manager.js +976 -0
- package/dist/components/admin/taxonomy-manager.js.map +1 -0
- package/dist/components/admin/user-comment-standing.d.ts +25 -0
- package/dist/components/admin/user-comment-standing.js +229 -0
- package/dist/components/admin/user-comment-standing.js.map +1 -0
- package/dist/components/social/bans.d.ts +5 -2
- package/dist/components/social/bans.js +132 -134
- package/dist/components/social/bans.js.map +1 -1
- package/dist/components/social/index.d.ts +1 -1
- package/dist/components/social/moderation.d.ts +11 -13
- package/dist/components/social/moderation.js +299 -218
- package/dist/components/social/moderation.js.map +1 -1
- package/dist/components/social/parts.d.ts +3 -2
- package/dist/components/social/parts.js +74 -48
- package/dist/components/social/parts.js.map +1 -1
- package/dist/components/social/poll-editor.d.ts +1 -1
- package/dist/components/social/poll-editor.js +1 -0
- package/dist/components/social/poll-editor.js.map +1 -1
- package/dist/editor/index.d.ts +1 -0
- package/dist/editor/rich-text-editor.d.ts +13 -0
- package/dist/editor/rich-text-editor.js +228 -0
- package/dist/editor/rich-text-editor.js.map +1 -0
- package/dist/editor.js +2 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +13 -8
- package/dist/locales/admin/de.d.ts +2 -0
- package/dist/locales/admin/de.js +176 -0
- package/dist/locales/admin/de.js.map +1 -0
- package/dist/locales/admin/en.d.ts +171 -0
- package/dist/locales/admin/en.js +176 -0
- package/dist/locales/admin/en.js.map +1 -0
- package/dist/locales/admin/es.d.ts +2 -0
- package/dist/locales/admin/es.js +176 -0
- package/dist/locales/admin/es.js.map +1 -0
- package/dist/locales/admin/ja.d.ts +2 -0
- package/dist/locales/admin/ja.js +176 -0
- package/dist/locales/admin/ja.js.map +1 -0
- package/dist/locales/admin/ko.d.ts +2 -0
- package/dist/locales/admin/ko.js +176 -0
- package/dist/locales/admin/ko.js.map +1 -0
- package/dist/locales/admin/zh.d.ts +2 -0
- package/dist/locales/admin/zh.js +176 -0
- package/dist/locales/admin/zh.js.map +1 -0
- package/dist/locales/de.js +5 -3
- package/dist/locales/de.js.map +1 -1
- package/dist/locales/en.d.ts +176 -0
- package/dist/locales/en.js +5 -3
- package/dist/locales/en.js.map +1 -1
- package/dist/locales/es.js +5 -3
- package/dist/locales/es.js.map +1 -1
- package/dist/locales/ja.js +5 -3
- package/dist/locales/ja.js.map +1 -1
- package/dist/locales/ko.js +5 -3
- package/dist/locales/ko.js.map +1 -1
- package/dist/locales/social/de.js +8 -1
- package/dist/locales/social/de.js.map +1 -1
- package/dist/locales/social/en.d.ts +7 -0
- package/dist/locales/social/en.js +8 -1
- package/dist/locales/social/en.js.map +1 -1
- package/dist/locales/social/es.js +8 -1
- package/dist/locales/social/es.js.map +1 -1
- package/dist/locales/social/ja.js +8 -1
- package/dist/locales/social/ja.js.map +1 -1
- package/dist/locales/social/ko.js +8 -1
- package/dist/locales/social/ko.js.map +1 -1
- package/dist/locales/social/zh.js +8 -1
- package/dist/locales/social/zh.js.map +1 -1
- package/dist/locales/zh.js +5 -3
- package/dist/locales/zh.js.map +1 -1
- package/dist/provider.d.ts +2 -0
- package/dist/provider.js +23 -19
- package/dist/provider.js.map +1 -1
- package/dist/react/admin.d.ts +55 -0
- package/dist/react/admin.js +97 -0
- package/dist/react/admin.js.map +1 -0
- package/dist/react/comments.d.ts +18 -2
- package/dist/react/comments.js +24 -8
- package/dist/react/comments.js.map +1 -1
- package/dist/react/context.d.ts +7 -1
- package/dist/react/context.js +6 -1
- package/dist/react/context.js.map +1 -1
- package/dist/react/index.d.ts +4 -3
- package/dist/react/polls.d.ts +2 -2
- package/dist/react/polls.js +88 -87
- package/dist/react/polls.js.map +1 -1
- package/dist/react/posts.d.ts +3 -3
- package/dist/react/posts.js +123 -122
- package/dist/react/posts.js.map +1 -1
- package/dist/react/resources.js +3 -0
- package/dist/react/resources.js.map +1 -1
- package/dist/react/use-resource.d.ts +16 -0
- package/dist/react/use-resource.js +20 -1
- package/dist/react/use-resource.js.map +1 -1
- package/dist/react.js +21 -20
- package/dist/styles.css +1 -1
- package/package.json +37 -2
|
@@ -4,7 +4,7 @@ var e = [
|
|
|
4
4
|
method: "GET",
|
|
5
5
|
module: "content",
|
|
6
6
|
path: "/config",
|
|
7
|
-
auth: "
|
|
7
|
+
auth: "open",
|
|
8
8
|
permission: null,
|
|
9
9
|
query: [],
|
|
10
10
|
request: null,
|
|
@@ -27,14 +27,18 @@ var e = [
|
|
|
27
27
|
request: null,
|
|
28
28
|
responses: { 200: "Post[]" },
|
|
29
29
|
errors: [],
|
|
30
|
-
errorSets: [
|
|
30
|
+
errorSets: [
|
|
31
|
+
"module:content",
|
|
32
|
+
"auth",
|
|
33
|
+
"request"
|
|
34
|
+
]
|
|
31
35
|
},
|
|
32
36
|
{
|
|
33
37
|
method: "GET",
|
|
34
38
|
module: "content",
|
|
35
39
|
path: "/posts/admin",
|
|
36
40
|
auth: "staff",
|
|
37
|
-
permission: "
|
|
41
|
+
permission: "root:posts:write",
|
|
38
42
|
query: [
|
|
39
43
|
"language",
|
|
40
44
|
"draft",
|
|
@@ -48,7 +52,7 @@ var e = [
|
|
|
48
52
|
errors: [],
|
|
49
53
|
errorSets: [
|
|
50
54
|
"module:content",
|
|
51
|
-
"
|
|
55
|
+
"auth",
|
|
52
56
|
"request"
|
|
53
57
|
]
|
|
54
58
|
},
|
|
@@ -62,14 +66,18 @@ var e = [
|
|
|
62
66
|
request: null,
|
|
63
67
|
responses: { 200: "Post" },
|
|
64
68
|
errors: ["not_found"],
|
|
65
|
-
errorSets: [
|
|
69
|
+
errorSets: [
|
|
70
|
+
"module:content",
|
|
71
|
+
"auth",
|
|
72
|
+
"request"
|
|
73
|
+
]
|
|
66
74
|
},
|
|
67
75
|
{
|
|
68
76
|
method: "POST",
|
|
69
77
|
module: "content",
|
|
70
78
|
path: "/posts",
|
|
71
79
|
auth: "staff",
|
|
72
|
-
permission: "
|
|
80
|
+
permission: "root:posts:write",
|
|
73
81
|
query: [],
|
|
74
82
|
request: "PostInput",
|
|
75
83
|
responses: {
|
|
@@ -83,7 +91,7 @@ var e = [
|
|
|
83
91
|
],
|
|
84
92
|
errorSets: [
|
|
85
93
|
"module:content",
|
|
86
|
-
"
|
|
94
|
+
"auth",
|
|
87
95
|
"request"
|
|
88
96
|
]
|
|
89
97
|
},
|
|
@@ -92,7 +100,7 @@ var e = [
|
|
|
92
100
|
module: "content",
|
|
93
101
|
path: "/posts/{id}",
|
|
94
102
|
auth: "staff",
|
|
95
|
-
permission: "
|
|
103
|
+
permission: "root:posts:write",
|
|
96
104
|
query: [],
|
|
97
105
|
request: "PostInput",
|
|
98
106
|
responses: {
|
|
@@ -107,7 +115,7 @@ var e = [
|
|
|
107
115
|
],
|
|
108
116
|
errorSets: [
|
|
109
117
|
"module:content",
|
|
110
|
-
"
|
|
118
|
+
"auth",
|
|
111
119
|
"request"
|
|
112
120
|
]
|
|
113
121
|
},
|
|
@@ -116,14 +124,14 @@ var e = [
|
|
|
116
124
|
module: "content",
|
|
117
125
|
path: "/posts/{id}",
|
|
118
126
|
auth: "staff",
|
|
119
|
-
permission: "
|
|
127
|
+
permission: "root:posts:write",
|
|
120
128
|
query: [],
|
|
121
129
|
request: null,
|
|
122
130
|
responses: { 204: null },
|
|
123
131
|
errors: ["not_found"],
|
|
124
132
|
errorSets: [
|
|
125
133
|
"module:content",
|
|
126
|
-
"
|
|
134
|
+
"auth",
|
|
127
135
|
"request"
|
|
128
136
|
]
|
|
129
137
|
},
|
|
@@ -132,14 +140,14 @@ var e = [
|
|
|
132
140
|
module: "content",
|
|
133
141
|
path: "/posts/{id}/restore",
|
|
134
142
|
auth: "staff",
|
|
135
|
-
permission: "
|
|
143
|
+
permission: "root:posts:write",
|
|
136
144
|
query: [],
|
|
137
145
|
request: null,
|
|
138
146
|
responses: { 200: "Post" },
|
|
139
147
|
errors: ["conflict", "not_found"],
|
|
140
148
|
errorSets: [
|
|
141
149
|
"module:content",
|
|
142
|
-
"
|
|
150
|
+
"auth",
|
|
143
151
|
"request"
|
|
144
152
|
]
|
|
145
153
|
},
|
|
@@ -148,14 +156,14 @@ var e = [
|
|
|
148
156
|
module: "content",
|
|
149
157
|
path: "/posts/{id}/cover",
|
|
150
158
|
auth: "staff",
|
|
151
|
-
permission: "
|
|
159
|
+
permission: "root:posts:write",
|
|
152
160
|
query: [],
|
|
153
161
|
request: "ImageInput",
|
|
154
162
|
responses: { 200: "PostCover" },
|
|
155
163
|
errors: ["not_configured", "not_found"],
|
|
156
164
|
errorSets: [
|
|
157
165
|
"module:content",
|
|
158
|
-
"
|
|
166
|
+
"auth",
|
|
159
167
|
"request"
|
|
160
168
|
]
|
|
161
169
|
},
|
|
@@ -164,14 +172,14 @@ var e = [
|
|
|
164
172
|
module: "content",
|
|
165
173
|
path: "/posts/{id}/images",
|
|
166
174
|
auth: "staff",
|
|
167
|
-
permission: "
|
|
175
|
+
permission: "root:posts:write",
|
|
168
176
|
query: [],
|
|
169
177
|
request: "ImageInput",
|
|
170
178
|
responses: { 200: "InlineImage" },
|
|
171
179
|
errors: ["not_configured", "not_found"],
|
|
172
180
|
errorSets: [
|
|
173
181
|
"module:content",
|
|
174
|
-
"
|
|
182
|
+
"auth",
|
|
175
183
|
"request"
|
|
176
184
|
]
|
|
177
185
|
},
|
|
@@ -189,7 +197,11 @@ var e = [
|
|
|
189
197
|
request: null,
|
|
190
198
|
responses: { 200: "Comment[]" },
|
|
191
199
|
errors: ["not_found"],
|
|
192
|
-
errorSets: [
|
|
200
|
+
errorSets: [
|
|
201
|
+
"module:content",
|
|
202
|
+
"auth",
|
|
203
|
+
"request"
|
|
204
|
+
]
|
|
193
205
|
},
|
|
194
206
|
{
|
|
195
207
|
method: "POST",
|
|
@@ -212,7 +224,11 @@ var e = [
|
|
|
212
224
|
"rate_limited",
|
|
213
225
|
"unauthorized"
|
|
214
226
|
],
|
|
215
|
-
errorSets: [
|
|
227
|
+
errorSets: [
|
|
228
|
+
"module:content",
|
|
229
|
+
"auth",
|
|
230
|
+
"request"
|
|
231
|
+
]
|
|
216
232
|
},
|
|
217
233
|
{
|
|
218
234
|
method: "GET",
|
|
@@ -224,16 +240,21 @@ var e = [
|
|
|
224
240
|
request: null,
|
|
225
241
|
responses: { 200: "FeedItem[]" },
|
|
226
242
|
errors: [],
|
|
227
|
-
errorSets: [
|
|
243
|
+
errorSets: [
|
|
244
|
+
"module:content",
|
|
245
|
+
"auth",
|
|
246
|
+
"request"
|
|
247
|
+
]
|
|
228
248
|
},
|
|
229
249
|
{
|
|
230
250
|
method: "GET",
|
|
231
251
|
module: "content",
|
|
232
252
|
path: "/comments/admin",
|
|
233
253
|
auth: "staff",
|
|
234
|
-
permission: "
|
|
254
|
+
permission: "root:comments:moderate",
|
|
235
255
|
query: [
|
|
236
256
|
"content_kind",
|
|
257
|
+
"author",
|
|
237
258
|
"limit",
|
|
238
259
|
"offset"
|
|
239
260
|
],
|
|
@@ -242,7 +263,7 @@ var e = [
|
|
|
242
263
|
errors: [],
|
|
243
264
|
errorSets: [
|
|
244
265
|
"module:content",
|
|
245
|
-
"
|
|
266
|
+
"auth",
|
|
246
267
|
"request"
|
|
247
268
|
]
|
|
248
269
|
},
|
|
@@ -251,14 +272,14 @@ var e = [
|
|
|
251
272
|
module: "content",
|
|
252
273
|
path: "/comments/{cid}/restore",
|
|
253
274
|
auth: "staff",
|
|
254
|
-
permission: "
|
|
275
|
+
permission: "root:comments:moderate",
|
|
255
276
|
query: [],
|
|
256
277
|
request: null,
|
|
257
278
|
responses: { 200: "Restored" },
|
|
258
279
|
errors: ["not_found"],
|
|
259
280
|
errorSets: [
|
|
260
281
|
"module:content",
|
|
261
|
-
"
|
|
282
|
+
"auth",
|
|
262
283
|
"request"
|
|
263
284
|
]
|
|
264
285
|
},
|
|
@@ -272,7 +293,11 @@ var e = [
|
|
|
272
293
|
request: null,
|
|
273
294
|
responses: { 200: "Comment[]" },
|
|
274
295
|
errors: ["not_found"],
|
|
275
|
-
errorSets: [
|
|
296
|
+
errorSets: [
|
|
297
|
+
"module:content",
|
|
298
|
+
"auth",
|
|
299
|
+
"request"
|
|
300
|
+
]
|
|
276
301
|
},
|
|
277
302
|
{
|
|
278
303
|
method: "PATCH",
|
|
@@ -294,7 +319,11 @@ var e = [
|
|
|
294
319
|
"moderation_rejected",
|
|
295
320
|
"not_found"
|
|
296
321
|
],
|
|
297
|
-
errorSets: [
|
|
322
|
+
errorSets: [
|
|
323
|
+
"module:content",
|
|
324
|
+
"auth",
|
|
325
|
+
"request"
|
|
326
|
+
]
|
|
298
327
|
},
|
|
299
328
|
{
|
|
300
329
|
method: "DELETE",
|
|
@@ -306,7 +335,11 @@ var e = [
|
|
|
306
335
|
request: null,
|
|
307
336
|
responses: { 204: null },
|
|
308
337
|
errors: ["forbidden", "not_found"],
|
|
309
|
-
errorSets: [
|
|
338
|
+
errorSets: [
|
|
339
|
+
"module:content",
|
|
340
|
+
"auth",
|
|
341
|
+
"request"
|
|
342
|
+
]
|
|
310
343
|
},
|
|
311
344
|
{
|
|
312
345
|
method: "POST",
|
|
@@ -324,7 +357,11 @@ var e = [
|
|
|
324
357
|
"rate_limited",
|
|
325
358
|
"unauthorized"
|
|
326
359
|
],
|
|
327
|
-
errorSets: [
|
|
360
|
+
errorSets: [
|
|
361
|
+
"module:content",
|
|
362
|
+
"auth",
|
|
363
|
+
"request"
|
|
364
|
+
]
|
|
328
365
|
},
|
|
329
366
|
{
|
|
330
367
|
method: "POST",
|
|
@@ -342,7 +379,11 @@ var e = [
|
|
|
342
379
|
"rate_limited",
|
|
343
380
|
"unauthorized"
|
|
344
381
|
],
|
|
345
|
-
errorSets: [
|
|
382
|
+
errorSets: [
|
|
383
|
+
"module:content",
|
|
384
|
+
"auth",
|
|
385
|
+
"request"
|
|
386
|
+
]
|
|
346
387
|
},
|
|
347
388
|
{
|
|
348
389
|
method: "DELETE",
|
|
@@ -360,7 +401,11 @@ var e = [
|
|
|
360
401
|
"rate_limited",
|
|
361
402
|
"unauthorized"
|
|
362
403
|
],
|
|
363
|
-
errorSets: [
|
|
404
|
+
errorSets: [
|
|
405
|
+
"module:content",
|
|
406
|
+
"auth",
|
|
407
|
+
"request"
|
|
408
|
+
]
|
|
364
409
|
},
|
|
365
410
|
{
|
|
366
411
|
method: "POST",
|
|
@@ -378,7 +423,11 @@ var e = [
|
|
|
378
423
|
"rate_limited",
|
|
379
424
|
"unauthorized"
|
|
380
425
|
],
|
|
381
|
-
errorSets: [
|
|
426
|
+
errorSets: [
|
|
427
|
+
"module:content",
|
|
428
|
+
"auth",
|
|
429
|
+
"request"
|
|
430
|
+
]
|
|
382
431
|
},
|
|
383
432
|
{
|
|
384
433
|
method: "POST",
|
|
@@ -396,7 +445,11 @@ var e = [
|
|
|
396
445
|
"rate_limited",
|
|
397
446
|
"unauthorized"
|
|
398
447
|
],
|
|
399
|
-
errorSets: [
|
|
448
|
+
errorSets: [
|
|
449
|
+
"module:content",
|
|
450
|
+
"auth",
|
|
451
|
+
"request"
|
|
452
|
+
]
|
|
400
453
|
},
|
|
401
454
|
{
|
|
402
455
|
method: "DELETE",
|
|
@@ -414,7 +467,11 @@ var e = [
|
|
|
414
467
|
"rate_limited",
|
|
415
468
|
"unauthorized"
|
|
416
469
|
],
|
|
417
|
-
errorSets: [
|
|
470
|
+
errorSets: [
|
|
471
|
+
"module:content",
|
|
472
|
+
"auth",
|
|
473
|
+
"request"
|
|
474
|
+
]
|
|
418
475
|
},
|
|
419
476
|
{
|
|
420
477
|
method: "GET",
|
|
@@ -426,7 +483,11 @@ var e = [
|
|
|
426
483
|
request: null,
|
|
427
484
|
responses: { 200: "ReactionCounts" },
|
|
428
485
|
errors: ["not_found"],
|
|
429
|
-
errorSets: [
|
|
486
|
+
errorSets: [
|
|
487
|
+
"module:content",
|
|
488
|
+
"auth",
|
|
489
|
+
"request"
|
|
490
|
+
]
|
|
430
491
|
},
|
|
431
492
|
{
|
|
432
493
|
method: "GET",
|
|
@@ -440,7 +501,7 @@ var e = [
|
|
|
440
501
|
errors: [],
|
|
441
502
|
errorSets: [
|
|
442
503
|
"module:content",
|
|
443
|
-
"
|
|
504
|
+
"auth",
|
|
444
505
|
"request"
|
|
445
506
|
]
|
|
446
507
|
},
|
|
@@ -460,7 +521,7 @@ var e = [
|
|
|
460
521
|
],
|
|
461
522
|
errorSets: [
|
|
462
523
|
"module:content",
|
|
463
|
-
"
|
|
524
|
+
"auth",
|
|
464
525
|
"request"
|
|
465
526
|
]
|
|
466
527
|
},
|
|
@@ -480,7 +541,7 @@ var e = [
|
|
|
480
541
|
],
|
|
481
542
|
errorSets: [
|
|
482
543
|
"module:content",
|
|
483
|
-
"
|
|
544
|
+
"auth",
|
|
484
545
|
"request"
|
|
485
546
|
]
|
|
486
547
|
},
|
|
@@ -494,7 +555,11 @@ var e = [
|
|
|
494
555
|
request: null,
|
|
495
556
|
responses: { 200: "FavoriteState" },
|
|
496
557
|
errors: ["invalid_request", "not_found"],
|
|
497
|
-
errorSets: [
|
|
558
|
+
errorSets: [
|
|
559
|
+
"module:content",
|
|
560
|
+
"auth",
|
|
561
|
+
"request"
|
|
562
|
+
]
|
|
498
563
|
},
|
|
499
564
|
{
|
|
500
565
|
method: "GET",
|
|
@@ -512,18 +577,24 @@ var e = [
|
|
|
512
577
|
request: null,
|
|
513
578
|
responses: { 200: "Poll[]" },
|
|
514
579
|
errors: [],
|
|
515
|
-
errorSets: [
|
|
580
|
+
errorSets: [
|
|
581
|
+
"module:content",
|
|
582
|
+
"auth",
|
|
583
|
+
"request"
|
|
584
|
+
]
|
|
516
585
|
},
|
|
517
586
|
{
|
|
518
587
|
method: "GET",
|
|
519
588
|
module: "content",
|
|
520
589
|
path: "/polls/admin",
|
|
521
590
|
auth: "staff",
|
|
522
|
-
permission: "
|
|
591
|
+
permission: "root:polls:write",
|
|
523
592
|
query: [
|
|
524
593
|
"language",
|
|
525
594
|
"month",
|
|
526
595
|
"date",
|
|
596
|
+
"state",
|
|
597
|
+
"q",
|
|
527
598
|
"limit",
|
|
528
599
|
"offset"
|
|
529
600
|
],
|
|
@@ -532,7 +603,7 @@ var e = [
|
|
|
532
603
|
errors: [],
|
|
533
604
|
errorSets: [
|
|
534
605
|
"module:content",
|
|
535
|
-
"
|
|
606
|
+
"auth",
|
|
536
607
|
"request"
|
|
537
608
|
]
|
|
538
609
|
},
|
|
@@ -546,21 +617,25 @@ var e = [
|
|
|
546
617
|
request: null,
|
|
547
618
|
responses: { 200: "Poll" },
|
|
548
619
|
errors: ["not_found"],
|
|
549
|
-
errorSets: [
|
|
620
|
+
errorSets: [
|
|
621
|
+
"module:content",
|
|
622
|
+
"auth",
|
|
623
|
+
"request"
|
|
624
|
+
]
|
|
550
625
|
},
|
|
551
626
|
{
|
|
552
627
|
method: "POST",
|
|
553
628
|
module: "content",
|
|
554
629
|
path: "/polls",
|
|
555
630
|
auth: "staff",
|
|
556
|
-
permission: "
|
|
631
|
+
permission: "root:polls:write",
|
|
557
632
|
query: [],
|
|
558
633
|
request: "PollInput",
|
|
559
634
|
responses: { 201: "Poll" },
|
|
560
635
|
errors: ["not_configured"],
|
|
561
636
|
errorSets: [
|
|
562
637
|
"module:content",
|
|
563
|
-
"
|
|
638
|
+
"auth",
|
|
564
639
|
"request"
|
|
565
640
|
]
|
|
566
641
|
},
|
|
@@ -569,14 +644,14 @@ var e = [
|
|
|
569
644
|
module: "content",
|
|
570
645
|
path: "/polls/{id}",
|
|
571
646
|
auth: "staff",
|
|
572
|
-
permission: "
|
|
647
|
+
permission: "root:polls:write",
|
|
573
648
|
query: [],
|
|
574
649
|
request: "PollUpdate",
|
|
575
650
|
responses: { 200: "Poll" },
|
|
576
651
|
errors: ["not_found"],
|
|
577
652
|
errorSets: [
|
|
578
653
|
"module:content",
|
|
579
|
-
"
|
|
654
|
+
"auth",
|
|
580
655
|
"request"
|
|
581
656
|
]
|
|
582
657
|
},
|
|
@@ -585,14 +660,14 @@ var e = [
|
|
|
585
660
|
module: "content",
|
|
586
661
|
path: "/polls/{id}",
|
|
587
662
|
auth: "staff",
|
|
588
|
-
permission: "
|
|
663
|
+
permission: "root:polls:write",
|
|
589
664
|
query: [],
|
|
590
665
|
request: null,
|
|
591
666
|
responses: { 204: null },
|
|
592
667
|
errors: ["not_found"],
|
|
593
668
|
errorSets: [
|
|
594
669
|
"module:content",
|
|
595
|
-
"
|
|
670
|
+
"auth",
|
|
596
671
|
"request"
|
|
597
672
|
]
|
|
598
673
|
},
|
|
@@ -611,7 +686,11 @@ var e = [
|
|
|
611
686
|
"rate_limited",
|
|
612
687
|
"unauthorized"
|
|
613
688
|
],
|
|
614
|
-
errorSets: [
|
|
689
|
+
errorSets: [
|
|
690
|
+
"module:content",
|
|
691
|
+
"auth",
|
|
692
|
+
"request"
|
|
693
|
+
]
|
|
615
694
|
},
|
|
616
695
|
{
|
|
617
696
|
method: "POST",
|
|
@@ -629,7 +708,7 @@ var e = [
|
|
|
629
708
|
],
|
|
630
709
|
errorSets: [
|
|
631
710
|
"module:content",
|
|
632
|
-
"
|
|
711
|
+
"auth",
|
|
633
712
|
"request"
|
|
634
713
|
]
|
|
635
714
|
},
|
|
@@ -638,14 +717,14 @@ var e = [
|
|
|
638
717
|
module: "content",
|
|
639
718
|
path: "/polls/{id}/image",
|
|
640
719
|
auth: "staff",
|
|
641
|
-
permission: "
|
|
720
|
+
permission: "root:polls:write",
|
|
642
721
|
query: [],
|
|
643
722
|
request: "ImageInput",
|
|
644
723
|
responses: { 200: "PollImage" },
|
|
645
724
|
errors: ["not_configured", "not_found"],
|
|
646
725
|
errorSets: [
|
|
647
726
|
"module:content",
|
|
648
|
-
"
|
|
727
|
+
"auth",
|
|
649
728
|
"request"
|
|
650
729
|
]
|
|
651
730
|
},
|
|
@@ -654,14 +733,14 @@ var e = [
|
|
|
654
733
|
module: "content",
|
|
655
734
|
path: "/polls/{id}/options",
|
|
656
735
|
auth: "staff",
|
|
657
|
-
permission: "
|
|
736
|
+
permission: "root:polls:write",
|
|
658
737
|
query: [],
|
|
659
738
|
request: "PollOptionPatch",
|
|
660
739
|
responses: { 201: "PollOption" },
|
|
661
740
|
errors: ["not_found"],
|
|
662
741
|
errorSets: [
|
|
663
742
|
"module:content",
|
|
664
|
-
"
|
|
743
|
+
"auth",
|
|
665
744
|
"request"
|
|
666
745
|
]
|
|
667
746
|
},
|
|
@@ -670,14 +749,14 @@ var e = [
|
|
|
670
749
|
module: "content",
|
|
671
750
|
path: "/polls/{id}/options/{oid}",
|
|
672
751
|
auth: "staff",
|
|
673
|
-
permission: "
|
|
752
|
+
permission: "root:polls:write",
|
|
674
753
|
query: [],
|
|
675
754
|
request: "PollOptionPatch",
|
|
676
755
|
responses: { 200: "PollOption" },
|
|
677
756
|
errors: ["not_configured", "not_found"],
|
|
678
757
|
errorSets: [
|
|
679
758
|
"module:content",
|
|
680
|
-
"
|
|
759
|
+
"auth",
|
|
681
760
|
"request"
|
|
682
761
|
]
|
|
683
762
|
},
|
|
@@ -686,14 +765,14 @@ var e = [
|
|
|
686
765
|
module: "content",
|
|
687
766
|
path: "/polls/{id}/options/{oid}",
|
|
688
767
|
auth: "staff",
|
|
689
|
-
permission: "
|
|
768
|
+
permission: "root:polls:write",
|
|
690
769
|
query: [],
|
|
691
770
|
request: null,
|
|
692
771
|
responses: { 204: null },
|
|
693
772
|
errors: ["invalid_request", "not_found"],
|
|
694
773
|
errorSets: [
|
|
695
774
|
"module:content",
|
|
696
|
-
"
|
|
775
|
+
"auth",
|
|
697
776
|
"request"
|
|
698
777
|
]
|
|
699
778
|
},
|
|
@@ -702,14 +781,14 @@ var e = [
|
|
|
702
781
|
module: "content",
|
|
703
782
|
path: "/polls/{id}/options/{oid}/image",
|
|
704
783
|
auth: "staff",
|
|
705
|
-
permission: "
|
|
784
|
+
permission: "root:polls:write",
|
|
706
785
|
query: [],
|
|
707
786
|
request: "ImageInput",
|
|
708
787
|
responses: { 200: "PollImage" },
|
|
709
788
|
errors: ["not_configured", "not_found"],
|
|
710
789
|
errorSets: [
|
|
711
790
|
"module:content",
|
|
712
|
-
"
|
|
791
|
+
"auth",
|
|
713
792
|
"request"
|
|
714
793
|
]
|
|
715
794
|
},
|
|
@@ -725,7 +804,7 @@ var e = [
|
|
|
725
804
|
errors: [],
|
|
726
805
|
errorSets: [
|
|
727
806
|
"module:content",
|
|
728
|
-
"
|
|
807
|
+
"auth",
|
|
729
808
|
"request"
|
|
730
809
|
]
|
|
731
810
|
},
|
|
@@ -741,7 +820,7 @@ var e = [
|
|
|
741
820
|
errors: [],
|
|
742
821
|
errorSets: [
|
|
743
822
|
"module:content",
|
|
744
|
-
"
|
|
823
|
+
"auth",
|
|
745
824
|
"request"
|
|
746
825
|
]
|
|
747
826
|
},
|
|
@@ -757,7 +836,7 @@ var e = [
|
|
|
757
836
|
errors: [],
|
|
758
837
|
errorSets: [
|
|
759
838
|
"module:content",
|
|
760
|
-
"
|
|
839
|
+
"auth",
|
|
761
840
|
"request"
|
|
762
841
|
]
|
|
763
842
|
},
|
|
@@ -766,14 +845,30 @@ var e = [
|
|
|
766
845
|
module: "content",
|
|
767
846
|
path: "/global-comment-bans",
|
|
768
847
|
auth: "staff",
|
|
769
|
-
permission: "
|
|
848
|
+
permission: "root:comments:ban",
|
|
770
849
|
query: ["limit", "offset"],
|
|
771
850
|
request: null,
|
|
772
851
|
responses: { 200: "CommentBan[]" },
|
|
773
852
|
errors: ["unauthorized"],
|
|
774
853
|
errorSets: [
|
|
775
854
|
"module:content",
|
|
776
|
-
"
|
|
855
|
+
"auth",
|
|
856
|
+
"request"
|
|
857
|
+
]
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
method: "GET",
|
|
861
|
+
module: "content",
|
|
862
|
+
path: "/global-comment-bans/{user}",
|
|
863
|
+
auth: "staff",
|
|
864
|
+
permission: "root:comments:ban",
|
|
865
|
+
query: [],
|
|
866
|
+
request: null,
|
|
867
|
+
responses: { 200: "CommentBan" },
|
|
868
|
+
errors: ["not_found", "unauthorized"],
|
|
869
|
+
errorSets: [
|
|
870
|
+
"module:content",
|
|
871
|
+
"auth",
|
|
777
872
|
"request"
|
|
778
873
|
]
|
|
779
874
|
},
|
|
@@ -782,14 +877,14 @@ var e = [
|
|
|
782
877
|
module: "content",
|
|
783
878
|
path: "/global-comment-bans/{user}",
|
|
784
879
|
auth: "staff",
|
|
785
|
-
permission: "
|
|
880
|
+
permission: "root:comments:ban",
|
|
786
881
|
query: [],
|
|
787
882
|
request: "BanInput",
|
|
788
883
|
responses: { 200: "CommentBan" },
|
|
789
884
|
errors: ["unauthorized"],
|
|
790
885
|
errorSets: [
|
|
791
886
|
"module:content",
|
|
792
|
-
"
|
|
887
|
+
"auth",
|
|
793
888
|
"request"
|
|
794
889
|
]
|
|
795
890
|
},
|
|
@@ -798,14 +893,14 @@ var e = [
|
|
|
798
893
|
module: "content",
|
|
799
894
|
path: "/global-comment-bans/{user}",
|
|
800
895
|
auth: "staff",
|
|
801
|
-
permission: "
|
|
896
|
+
permission: "root:comments:ban",
|
|
802
897
|
query: [],
|
|
803
898
|
request: null,
|
|
804
899
|
responses: { 204: null },
|
|
805
900
|
errors: ["unauthorized"],
|
|
806
901
|
errorSets: [
|
|
807
902
|
"module:content",
|
|
808
|
-
"
|
|
903
|
+
"auth",
|
|
809
904
|
"request"
|
|
810
905
|
]
|
|
811
906
|
},
|
|
@@ -819,14 +914,18 @@ var e = [
|
|
|
819
914
|
request: null,
|
|
820
915
|
responses: { 200: "CommentStanding" },
|
|
821
916
|
errors: ["not_found"],
|
|
822
|
-
errorSets: [
|
|
917
|
+
errorSets: [
|
|
918
|
+
"module:content",
|
|
919
|
+
"auth",
|
|
920
|
+
"request"
|
|
921
|
+
]
|
|
823
922
|
},
|
|
824
923
|
{
|
|
825
924
|
method: "GET",
|
|
826
925
|
module: "content",
|
|
827
926
|
path: "/moderation/held",
|
|
828
927
|
auth: "staff",
|
|
829
|
-
permission: "
|
|
928
|
+
permission: "root:moderation:review",
|
|
830
929
|
query: [
|
|
831
930
|
"kind",
|
|
832
931
|
"cursor",
|
|
@@ -837,7 +936,7 @@ var e = [
|
|
|
837
936
|
errors: [],
|
|
838
937
|
errorSets: [
|
|
839
938
|
"module:content",
|
|
840
|
-
"
|
|
939
|
+
"auth",
|
|
841
940
|
"request"
|
|
842
941
|
]
|
|
843
942
|
},
|
|
@@ -846,14 +945,14 @@ var e = [
|
|
|
846
945
|
module: "content",
|
|
847
946
|
path: "/moderation/{kind}/{id}/resolve",
|
|
848
947
|
auth: "staff",
|
|
849
|
-
permission: "
|
|
948
|
+
permission: "root:moderation:review",
|
|
850
949
|
query: [],
|
|
851
950
|
request: "ResolveInput",
|
|
852
951
|
responses: { 200: "ReviewOutcome" },
|
|
853
952
|
errors: ["conflict", "not_found"],
|
|
854
953
|
errorSets: [
|
|
855
954
|
"module:content",
|
|
856
|
-
"
|
|
955
|
+
"auth",
|
|
857
956
|
"request"
|
|
858
957
|
]
|
|
859
958
|
},
|
|
@@ -878,7 +977,7 @@ var e = [
|
|
|
878
977
|
],
|
|
879
978
|
errorSets: [
|
|
880
979
|
"module:upload",
|
|
881
|
-
"
|
|
980
|
+
"auth",
|
|
882
981
|
"request"
|
|
883
982
|
]
|
|
884
983
|
},
|
|
@@ -894,7 +993,7 @@ var e = [
|
|
|
894
993
|
errors: ["forbidden", "not_found"],
|
|
895
994
|
errorSets: [
|
|
896
995
|
"module:upload",
|
|
897
|
-
"
|
|
996
|
+
"auth",
|
|
898
997
|
"request"
|
|
899
998
|
]
|
|
900
999
|
},
|
|
@@ -910,7 +1009,7 @@ var e = [
|
|
|
910
1009
|
errors: ["forbidden", "not_found"],
|
|
911
1010
|
errorSets: [
|
|
912
1011
|
"module:upload",
|
|
913
|
-
"
|
|
1012
|
+
"auth",
|
|
914
1013
|
"request"
|
|
915
1014
|
]
|
|
916
1015
|
},
|
|
@@ -931,7 +1030,7 @@ var e = [
|
|
|
931
1030
|
],
|
|
932
1031
|
errorSets: [
|
|
933
1032
|
"module:upload",
|
|
934
|
-
"
|
|
1033
|
+
"auth",
|
|
935
1034
|
"request"
|
|
936
1035
|
]
|
|
937
1036
|
},
|
|
@@ -947,7 +1046,7 @@ var e = [
|
|
|
947
1046
|
errors: ["forbidden", "not_found"],
|
|
948
1047
|
errorSets: [
|
|
949
1048
|
"module:upload",
|
|
950
|
-
"
|
|
1049
|
+
"auth",
|
|
951
1050
|
"request"
|
|
952
1051
|
]
|
|
953
1052
|
},
|
|
@@ -974,7 +1073,7 @@ var e = [
|
|
|
974
1073
|
],
|
|
975
1074
|
errorSets: [
|
|
976
1075
|
"module:upload",
|
|
977
|
-
"
|
|
1076
|
+
"auth",
|
|
978
1077
|
"request"
|
|
979
1078
|
]
|
|
980
1079
|
},
|
|
@@ -996,7 +1095,7 @@ var e = [
|
|
|
996
1095
|
errors: ["forbidden", "not_found"],
|
|
997
1096
|
errorSets: [
|
|
998
1097
|
"module:upload",
|
|
999
|
-
"
|
|
1098
|
+
"auth",
|
|
1000
1099
|
"request"
|
|
1001
1100
|
]
|
|
1002
1101
|
},
|
|
@@ -1004,7 +1103,7 @@ var e = [
|
|
|
1004
1103
|
method: "GET",
|
|
1005
1104
|
module: "media",
|
|
1006
1105
|
path: "/presets",
|
|
1007
|
-
auth: "
|
|
1106
|
+
auth: "open",
|
|
1008
1107
|
permission: null,
|
|
1009
1108
|
query: [],
|
|
1010
1109
|
request: null,
|
|
@@ -1028,7 +1127,11 @@ var e = [
|
|
|
1028
1127
|
request: null,
|
|
1029
1128
|
responses: { 200: "ReadResult" },
|
|
1030
1129
|
errors: [],
|
|
1031
|
-
errorSets: [
|
|
1130
|
+
errorSets: [
|
|
1131
|
+
"module:media",
|
|
1132
|
+
"auth",
|
|
1133
|
+
"request"
|
|
1134
|
+
]
|
|
1032
1135
|
},
|
|
1033
1136
|
{
|
|
1034
1137
|
method: "GET",
|
|
@@ -1040,13 +1143,17 @@ var e = [
|
|
|
1040
1143
|
request: null,
|
|
1041
1144
|
responses: { 200: "application/vnd.apple.mpegurl" },
|
|
1042
1145
|
errors: [],
|
|
1043
|
-
errorSets: [
|
|
1146
|
+
errorSets: [
|
|
1147
|
+
"module:media",
|
|
1148
|
+
"auth",
|
|
1149
|
+
"request"
|
|
1150
|
+
]
|
|
1044
1151
|
},
|
|
1045
1152
|
{
|
|
1046
1153
|
method: "GET",
|
|
1047
1154
|
module: "codes",
|
|
1048
1155
|
path: "/{code}",
|
|
1049
|
-
auth: "
|
|
1156
|
+
auth: "open",
|
|
1050
1157
|
permission: null,
|
|
1051
1158
|
query: ["lang"],
|
|
1052
1159
|
request: null,
|
|
@@ -1059,7 +1166,7 @@ var e = [
|
|
|
1059
1166
|
module: "taxonomy",
|
|
1060
1167
|
path: "/nodes",
|
|
1061
1168
|
auth: "staff",
|
|
1062
|
-
permission: "
|
|
1169
|
+
permission: "root:taxonomy:write",
|
|
1063
1170
|
query: [
|
|
1064
1171
|
"kind",
|
|
1065
1172
|
"state",
|
|
@@ -1081,7 +1188,7 @@ var e = [
|
|
|
1081
1188
|
errors: [],
|
|
1082
1189
|
errorSets: [
|
|
1083
1190
|
"module:taxonomy",
|
|
1084
|
-
"
|
|
1191
|
+
"auth",
|
|
1085
1192
|
"request"
|
|
1086
1193
|
]
|
|
1087
1194
|
},
|
|
@@ -1090,14 +1197,14 @@ var e = [
|
|
|
1090
1197
|
module: "taxonomy",
|
|
1091
1198
|
path: "/nodes",
|
|
1092
1199
|
auth: "staff",
|
|
1093
|
-
permission: "
|
|
1200
|
+
permission: "root:taxonomy:write",
|
|
1094
1201
|
query: [],
|
|
1095
1202
|
request: "NodeInput[]",
|
|
1096
1203
|
responses: { 201: "Node[]" },
|
|
1097
1204
|
errors: ["conflict"],
|
|
1098
1205
|
errorSets: [
|
|
1099
1206
|
"module:taxonomy",
|
|
1100
|
-
"
|
|
1207
|
+
"auth",
|
|
1101
1208
|
"request"
|
|
1102
1209
|
]
|
|
1103
1210
|
},
|
|
@@ -1106,14 +1213,14 @@ var e = [
|
|
|
1106
1213
|
module: "taxonomy",
|
|
1107
1214
|
path: "/nodes/{id}",
|
|
1108
1215
|
auth: "staff",
|
|
1109
|
-
permission: "
|
|
1216
|
+
permission: "root:taxonomy:write",
|
|
1110
1217
|
query: [],
|
|
1111
1218
|
request: null,
|
|
1112
1219
|
responses: { 200: "NodeDetail" },
|
|
1113
1220
|
errors: ["not_found"],
|
|
1114
1221
|
errorSets: [
|
|
1115
1222
|
"module:taxonomy",
|
|
1116
|
-
"
|
|
1223
|
+
"auth",
|
|
1117
1224
|
"request"
|
|
1118
1225
|
]
|
|
1119
1226
|
},
|
|
@@ -1122,14 +1229,14 @@ var e = [
|
|
|
1122
1229
|
module: "taxonomy",
|
|
1123
1230
|
path: "/nodes/{id}",
|
|
1124
1231
|
auth: "staff",
|
|
1125
|
-
permission: "
|
|
1232
|
+
permission: "root:taxonomy:write",
|
|
1126
1233
|
query: [],
|
|
1127
1234
|
request: "NodeUpdate",
|
|
1128
1235
|
responses: { 200: "Node" },
|
|
1129
1236
|
errors: ["conflict", "not_found"],
|
|
1130
1237
|
errorSets: [
|
|
1131
1238
|
"module:taxonomy",
|
|
1132
|
-
"
|
|
1239
|
+
"auth",
|
|
1133
1240
|
"request"
|
|
1134
1241
|
]
|
|
1135
1242
|
},
|
|
@@ -1138,14 +1245,14 @@ var e = [
|
|
|
1138
1245
|
module: "taxonomy",
|
|
1139
1246
|
path: "/nodes/{id}",
|
|
1140
1247
|
auth: "staff",
|
|
1141
|
-
permission: "
|
|
1248
|
+
permission: "root:taxonomy:write",
|
|
1142
1249
|
query: [],
|
|
1143
1250
|
request: null,
|
|
1144
1251
|
responses: { 200: "Node" },
|
|
1145
1252
|
errors: ["not_found"],
|
|
1146
1253
|
errorSets: [
|
|
1147
1254
|
"module:taxonomy",
|
|
1148
|
-
"
|
|
1255
|
+
"auth",
|
|
1149
1256
|
"request"
|
|
1150
1257
|
]
|
|
1151
1258
|
},
|
|
@@ -1154,14 +1261,14 @@ var e = [
|
|
|
1154
1261
|
module: "taxonomy",
|
|
1155
1262
|
path: "/nodes/{id}/names",
|
|
1156
1263
|
auth: "staff",
|
|
1157
|
-
permission: "
|
|
1264
|
+
permission: "root:taxonomy:write",
|
|
1158
1265
|
query: [],
|
|
1159
1266
|
request: "Name[]",
|
|
1160
1267
|
responses: { 200: "NodeDetail" },
|
|
1161
1268
|
errors: ["conflict", "not_found"],
|
|
1162
1269
|
errorSets: [
|
|
1163
1270
|
"module:taxonomy",
|
|
1164
|
-
"
|
|
1271
|
+
"auth",
|
|
1165
1272
|
"request"
|
|
1166
1273
|
]
|
|
1167
1274
|
},
|
|
@@ -1170,14 +1277,14 @@ var e = [
|
|
|
1170
1277
|
module: "taxonomy",
|
|
1171
1278
|
path: "/nodes/{id}/names",
|
|
1172
1279
|
auth: "staff",
|
|
1173
|
-
permission: "
|
|
1280
|
+
permission: "root:taxonomy:write",
|
|
1174
1281
|
query: [],
|
|
1175
1282
|
request: "Name[]",
|
|
1176
1283
|
responses: { 200: "NodeDetail" },
|
|
1177
1284
|
errors: ["conflict", "not_found"],
|
|
1178
1285
|
errorSets: [
|
|
1179
1286
|
"module:taxonomy",
|
|
1180
|
-
"
|
|
1287
|
+
"auth",
|
|
1181
1288
|
"request"
|
|
1182
1289
|
]
|
|
1183
1290
|
},
|
|
@@ -1186,14 +1293,35 @@ var e = [
|
|
|
1186
1293
|
module: "taxonomy",
|
|
1187
1294
|
path: "/nodes/{id}/names",
|
|
1188
1295
|
auth: "staff",
|
|
1189
|
-
permission: "
|
|
1296
|
+
permission: "root:taxonomy:write",
|
|
1190
1297
|
query: [],
|
|
1191
1298
|
request: "Name[]",
|
|
1192
1299
|
responses: { 200: "NodeDetail" },
|
|
1193
1300
|
errors: ["not_found"],
|
|
1194
1301
|
errorSets: [
|
|
1195
1302
|
"module:taxonomy",
|
|
1196
|
-
"
|
|
1303
|
+
"auth",
|
|
1304
|
+
"request"
|
|
1305
|
+
]
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
method: "GET",
|
|
1309
|
+
module: "taxonomy",
|
|
1310
|
+
path: "/nodes/{id}/assignments",
|
|
1311
|
+
auth: "staff",
|
|
1312
|
+
permission: "root:taxonomy:write",
|
|
1313
|
+
query: [
|
|
1314
|
+
"content_kind",
|
|
1315
|
+
"relation",
|
|
1316
|
+
"cursor",
|
|
1317
|
+
"limit"
|
|
1318
|
+
],
|
|
1319
|
+
request: null,
|
|
1320
|
+
responses: { 200: "AssignmentPage" },
|
|
1321
|
+
errors: ["not_found"],
|
|
1322
|
+
errorSets: [
|
|
1323
|
+
"module:taxonomy",
|
|
1324
|
+
"auth",
|
|
1197
1325
|
"request"
|
|
1198
1326
|
]
|
|
1199
1327
|
},
|
|
@@ -1202,14 +1330,14 @@ var e = [
|
|
|
1202
1330
|
module: "taxonomy",
|
|
1203
1331
|
path: "/nodes/{id}/merge",
|
|
1204
1332
|
auth: "staff",
|
|
1205
|
-
permission: "
|
|
1333
|
+
permission: "root:taxonomy:write",
|
|
1206
1334
|
query: [],
|
|
1207
1335
|
request: "MergeInput",
|
|
1208
1336
|
responses: { 200: "MergeReport" },
|
|
1209
1337
|
errors: ["conflict", "not_found"],
|
|
1210
1338
|
errorSets: [
|
|
1211
1339
|
"module:taxonomy",
|
|
1212
|
-
"
|
|
1340
|
+
"auth",
|
|
1213
1341
|
"request"
|
|
1214
1342
|
]
|
|
1215
1343
|
},
|
|
@@ -1218,14 +1346,14 @@ var e = [
|
|
|
1218
1346
|
module: "taxonomy",
|
|
1219
1347
|
path: "/edges",
|
|
1220
1348
|
auth: "staff",
|
|
1221
|
-
permission: "
|
|
1349
|
+
permission: "root:taxonomy:write",
|
|
1222
1350
|
query: [],
|
|
1223
1351
|
request: "Edge[]",
|
|
1224
1352
|
responses: { 200: "EdgesWritten" },
|
|
1225
1353
|
errors: ["conflict", "not_found"],
|
|
1226
1354
|
errorSets: [
|
|
1227
1355
|
"module:taxonomy",
|
|
1228
|
-
"
|
|
1356
|
+
"auth",
|
|
1229
1357
|
"request"
|
|
1230
1358
|
]
|
|
1231
1359
|
},
|
|
@@ -1234,14 +1362,14 @@ var e = [
|
|
|
1234
1362
|
module: "taxonomy",
|
|
1235
1363
|
path: "/edges",
|
|
1236
1364
|
auth: "staff",
|
|
1237
|
-
permission: "
|
|
1365
|
+
permission: "root:taxonomy:write",
|
|
1238
1366
|
query: [],
|
|
1239
1367
|
request: "Edge[]",
|
|
1240
1368
|
responses: { 200: "EdgesWritten" },
|
|
1241
1369
|
errors: [],
|
|
1242
1370
|
errorSets: [
|
|
1243
1371
|
"module:taxonomy",
|
|
1244
|
-
"
|
|
1372
|
+
"auth",
|
|
1245
1373
|
"request"
|
|
1246
1374
|
]
|
|
1247
1375
|
},
|
|
@@ -1250,14 +1378,14 @@ var e = [
|
|
|
1250
1378
|
module: "taxonomy",
|
|
1251
1379
|
path: "/assignments",
|
|
1252
1380
|
auth: "staff",
|
|
1253
|
-
permission: "
|
|
1381
|
+
permission: "root:taxonomy:write",
|
|
1254
1382
|
query: ["suppress_counts"],
|
|
1255
1383
|
request: "Assignment[]",
|
|
1256
1384
|
responses: { 200: "AssignmentsWritten" },
|
|
1257
1385
|
errors: ["conflict", "not_found"],
|
|
1258
1386
|
errorSets: [
|
|
1259
1387
|
"module:taxonomy",
|
|
1260
|
-
"
|
|
1388
|
+
"auth",
|
|
1261
1389
|
"request"
|
|
1262
1390
|
]
|
|
1263
1391
|
},
|
|
@@ -1266,14 +1394,14 @@ var e = [
|
|
|
1266
1394
|
module: "taxonomy",
|
|
1267
1395
|
path: "/assignments",
|
|
1268
1396
|
auth: "staff",
|
|
1269
|
-
permission: "
|
|
1397
|
+
permission: "root:taxonomy:write",
|
|
1270
1398
|
query: ["suppress_counts"],
|
|
1271
1399
|
request: "Assignment[]",
|
|
1272
1400
|
responses: { 200: "AssignmentsWritten" },
|
|
1273
1401
|
errors: [],
|
|
1274
1402
|
errorSets: [
|
|
1275
1403
|
"module:taxonomy",
|
|
1276
|
-
"
|
|
1404
|
+
"auth",
|
|
1277
1405
|
"request"
|
|
1278
1406
|
]
|
|
1279
1407
|
},
|
|
@@ -1282,14 +1410,14 @@ var e = [
|
|
|
1282
1410
|
module: "taxonomy",
|
|
1283
1411
|
path: "/effective",
|
|
1284
1412
|
auth: "staff",
|
|
1285
|
-
permission: "
|
|
1413
|
+
permission: "root:taxonomy:write",
|
|
1286
1414
|
query: [],
|
|
1287
1415
|
request: "ContentRef[]",
|
|
1288
1416
|
responses: { 200: "EffectiveTagsOf[]" },
|
|
1289
1417
|
errors: [],
|
|
1290
1418
|
errorSets: [
|
|
1291
1419
|
"module:taxonomy",
|
|
1292
|
-
"
|
|
1420
|
+
"auth",
|
|
1293
1421
|
"request"
|
|
1294
1422
|
]
|
|
1295
1423
|
},
|
|
@@ -1298,14 +1426,14 @@ var e = [
|
|
|
1298
1426
|
module: "taxonomy",
|
|
1299
1427
|
path: "/counts",
|
|
1300
1428
|
auth: "staff",
|
|
1301
|
-
permission: "
|
|
1429
|
+
permission: "root:taxonomy:write",
|
|
1302
1430
|
query: ["taxonomy_id"],
|
|
1303
1431
|
request: null,
|
|
1304
1432
|
responses: { 200: "Record<string, Count[]>" },
|
|
1305
1433
|
errors: [],
|
|
1306
1434
|
errorSets: [
|
|
1307
1435
|
"module:taxonomy",
|
|
1308
|
-
"
|
|
1436
|
+
"auth",
|
|
1309
1437
|
"request"
|
|
1310
1438
|
]
|
|
1311
1439
|
},
|
|
@@ -1314,12 +1442,12 @@ var e = [
|
|
|
1314
1442
|
module: "taxonomy",
|
|
1315
1443
|
path: "/counts/rebuild",
|
|
1316
1444
|
auth: "staff",
|
|
1317
|
-
permission: "
|
|
1445
|
+
permission: "root:taxonomy:write",
|
|
1318
1446
|
query: [],
|
|
1319
1447
|
request: null,
|
|
1320
1448
|
responses: { 200: "CountsRebuilt" },
|
|
1321
1449
|
errors: [],
|
|
1322
|
-
errorSets: ["module:taxonomy", "
|
|
1450
|
+
errorSets: ["module:taxonomy", "auth"]
|
|
1323
1451
|
}
|
|
1324
1452
|
];
|
|
1325
1453
|
//#endregion
|