@openrails/contentkit-ui 0.69.0 → 0.71.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 +17 -13
- package/dist/client/content/comments.d.ts +2 -2
- package/dist/client/content/comments.js +3 -3
- package/dist/client/content/comments.js.map +1 -1
- package/dist/client/content/polls.d.ts +2 -2
- package/dist/client/content/polls.js.map +1 -1
- package/dist/client/content/posts.d.ts +20 -12
- package/dist/client/content/posts.js +5 -13
- package/dist/client/content/posts.js.map +1 -1
- package/dist/client/content/reactions.js +4 -4
- package/dist/client/content/reactions.js.map +1 -1
- package/dist/client/content/types.d.ts +2 -2
- package/dist/client/content/types.js +1 -1
- package/dist/client/content/types.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 +120 -172
- package/dist/client/generated/routes.js +207 -191
- package/dist/client/generated/routes.js.map +1 -1
- package/dist/client/generated/wire.d.ts +6 -1
- package/dist/client/generated/wire.js.map +1 -1
- package/dist/client/index.d.ts +1 -1
- package/dist/client/media/client.d.ts +7 -5
- package/dist/client/media/client.js +1 -1
- package/dist/client/media/client.js.map +1 -1
- package/dist/client/media/rules.d.ts +2 -2
- package/dist/client/media/rules.js +1 -5
- package/dist/client/media/rules.js.map +1 -1
- package/dist/client/taxonomy.d.ts +1 -1
- package/dist/client/taxonomy.js.map +1 -1
- package/dist/client.js +5 -5
- package/dist/components/social/poll-editor.d.ts +1 -1
- package/dist/components/social/poll-editor.js.map +1 -1
- package/dist/react/comments.d.ts +1 -1
- package/dist/react/comments.js.map +1 -1
- package/dist/react/polls.d.ts +2 -2
- package/dist/react/polls.js.map +1 -1
- package/dist/react/posts.d.ts +12 -10
- package/dist/react/posts.js +132 -99
- package/dist/react/posts.js.map +1 -1
- package/dist/react/public.d.ts +2 -2
- package/dist/react/public.js +7 -4
- package/dist/react/public.js.map +1 -1
- package/package.json +1 -1
|
@@ -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,84 +140,30 @@ 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
|
},
|
|
146
|
-
{
|
|
147
|
-
method: "POST",
|
|
148
|
-
module: "content",
|
|
149
|
-
path: "/posts/{id}/like",
|
|
150
|
-
auth: "public",
|
|
151
|
-
permission: null,
|
|
152
|
-
query: [],
|
|
153
|
-
request: null,
|
|
154
|
-
responses: { 200: "Post" },
|
|
155
|
-
errors: [
|
|
156
|
-
"forbidden",
|
|
157
|
-
"invalid_request",
|
|
158
|
-
"not_found",
|
|
159
|
-
"rate_limited",
|
|
160
|
-
"unauthorized"
|
|
161
|
-
],
|
|
162
|
-
errorSets: ["module:content", "request"]
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
method: "POST",
|
|
166
|
-
module: "content",
|
|
167
|
-
path: "/posts/{id}/dislike",
|
|
168
|
-
auth: "public",
|
|
169
|
-
permission: null,
|
|
170
|
-
query: [],
|
|
171
|
-
request: null,
|
|
172
|
-
responses: { 200: "Post" },
|
|
173
|
-
errors: [
|
|
174
|
-
"forbidden",
|
|
175
|
-
"invalid_request",
|
|
176
|
-
"not_found",
|
|
177
|
-
"rate_limited",
|
|
178
|
-
"unauthorized"
|
|
179
|
-
],
|
|
180
|
-
errorSets: ["module:content", "request"]
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
method: "POST",
|
|
184
|
-
module: "content",
|
|
185
|
-
path: "/posts/{id}/neutral",
|
|
186
|
-
auth: "public",
|
|
187
|
-
permission: null,
|
|
188
|
-
query: [],
|
|
189
|
-
request: null,
|
|
190
|
-
responses: { 200: "Post" },
|
|
191
|
-
errors: [
|
|
192
|
-
"forbidden",
|
|
193
|
-
"invalid_request",
|
|
194
|
-
"not_found",
|
|
195
|
-
"rate_limited",
|
|
196
|
-
"unauthorized"
|
|
197
|
-
],
|
|
198
|
-
errorSets: ["module:content", "request"]
|
|
199
|
-
},
|
|
200
154
|
{
|
|
201
155
|
method: "PUT",
|
|
202
156
|
module: "content",
|
|
203
157
|
path: "/posts/{id}/cover",
|
|
204
158
|
auth: "staff",
|
|
205
|
-
permission: "
|
|
159
|
+
permission: "root:posts:write",
|
|
206
160
|
query: [],
|
|
207
161
|
request: "ImageInput",
|
|
208
162
|
responses: { 200: "PostCover" },
|
|
209
163
|
errors: ["not_configured", "not_found"],
|
|
210
164
|
errorSets: [
|
|
211
165
|
"module:content",
|
|
212
|
-
"
|
|
166
|
+
"auth",
|
|
213
167
|
"request"
|
|
214
168
|
]
|
|
215
169
|
},
|
|
@@ -218,14 +172,14 @@ var e = [
|
|
|
218
172
|
module: "content",
|
|
219
173
|
path: "/posts/{id}/images",
|
|
220
174
|
auth: "staff",
|
|
221
|
-
permission: "
|
|
175
|
+
permission: "root:posts:write",
|
|
222
176
|
query: [],
|
|
223
177
|
request: "ImageInput",
|
|
224
178
|
responses: { 200: "InlineImage" },
|
|
225
179
|
errors: ["not_configured", "not_found"],
|
|
226
180
|
errorSets: [
|
|
227
181
|
"module:content",
|
|
228
|
-
"
|
|
182
|
+
"auth",
|
|
229
183
|
"request"
|
|
230
184
|
]
|
|
231
185
|
},
|
|
@@ -243,7 +197,11 @@ var e = [
|
|
|
243
197
|
request: null,
|
|
244
198
|
responses: { 200: "Comment[]" },
|
|
245
199
|
errors: ["not_found"],
|
|
246
|
-
errorSets: [
|
|
200
|
+
errorSets: [
|
|
201
|
+
"module:content",
|
|
202
|
+
"auth",
|
|
203
|
+
"request"
|
|
204
|
+
]
|
|
247
205
|
},
|
|
248
206
|
{
|
|
249
207
|
method: "POST",
|
|
@@ -266,7 +224,11 @@ var e = [
|
|
|
266
224
|
"rate_limited",
|
|
267
225
|
"unauthorized"
|
|
268
226
|
],
|
|
269
|
-
errorSets: [
|
|
227
|
+
errorSets: [
|
|
228
|
+
"module:content",
|
|
229
|
+
"auth",
|
|
230
|
+
"request"
|
|
231
|
+
]
|
|
270
232
|
},
|
|
271
233
|
{
|
|
272
234
|
method: "GET",
|
|
@@ -278,14 +240,18 @@ var e = [
|
|
|
278
240
|
request: null,
|
|
279
241
|
responses: { 200: "FeedItem[]" },
|
|
280
242
|
errors: [],
|
|
281
|
-
errorSets: [
|
|
243
|
+
errorSets: [
|
|
244
|
+
"module:content",
|
|
245
|
+
"auth",
|
|
246
|
+
"request"
|
|
247
|
+
]
|
|
282
248
|
},
|
|
283
249
|
{
|
|
284
250
|
method: "GET",
|
|
285
251
|
module: "content",
|
|
286
252
|
path: "/comments/admin",
|
|
287
253
|
auth: "staff",
|
|
288
|
-
permission: "
|
|
254
|
+
permission: "root:comments:moderate",
|
|
289
255
|
query: [
|
|
290
256
|
"content_kind",
|
|
291
257
|
"limit",
|
|
@@ -296,7 +262,7 @@ var e = [
|
|
|
296
262
|
errors: [],
|
|
297
263
|
errorSets: [
|
|
298
264
|
"module:content",
|
|
299
|
-
"
|
|
265
|
+
"auth",
|
|
300
266
|
"request"
|
|
301
267
|
]
|
|
302
268
|
},
|
|
@@ -305,14 +271,14 @@ var e = [
|
|
|
305
271
|
module: "content",
|
|
306
272
|
path: "/comments/{cid}/restore",
|
|
307
273
|
auth: "staff",
|
|
308
|
-
permission: "
|
|
274
|
+
permission: "root:comments:moderate",
|
|
309
275
|
query: [],
|
|
310
276
|
request: null,
|
|
311
277
|
responses: { 200: "Restored" },
|
|
312
278
|
errors: ["not_found"],
|
|
313
279
|
errorSets: [
|
|
314
280
|
"module:content",
|
|
315
|
-
"
|
|
281
|
+
"auth",
|
|
316
282
|
"request"
|
|
317
283
|
]
|
|
318
284
|
},
|
|
@@ -326,7 +292,11 @@ var e = [
|
|
|
326
292
|
request: null,
|
|
327
293
|
responses: { 200: "Comment[]" },
|
|
328
294
|
errors: ["not_found"],
|
|
329
|
-
errorSets: [
|
|
295
|
+
errorSets: [
|
|
296
|
+
"module:content",
|
|
297
|
+
"auth",
|
|
298
|
+
"request"
|
|
299
|
+
]
|
|
330
300
|
},
|
|
331
301
|
{
|
|
332
302
|
method: "PATCH",
|
|
@@ -348,7 +318,11 @@ var e = [
|
|
|
348
318
|
"moderation_rejected",
|
|
349
319
|
"not_found"
|
|
350
320
|
],
|
|
351
|
-
errorSets: [
|
|
321
|
+
errorSets: [
|
|
322
|
+
"module:content",
|
|
323
|
+
"auth",
|
|
324
|
+
"request"
|
|
325
|
+
]
|
|
352
326
|
},
|
|
353
327
|
{
|
|
354
328
|
method: "DELETE",
|
|
@@ -360,7 +334,11 @@ var e = [
|
|
|
360
334
|
request: null,
|
|
361
335
|
responses: { 204: null },
|
|
362
336
|
errors: ["forbidden", "not_found"],
|
|
363
|
-
errorSets: [
|
|
337
|
+
errorSets: [
|
|
338
|
+
"module:content",
|
|
339
|
+
"auth",
|
|
340
|
+
"request"
|
|
341
|
+
]
|
|
364
342
|
},
|
|
365
343
|
{
|
|
366
344
|
method: "POST",
|
|
@@ -378,7 +356,11 @@ var e = [
|
|
|
378
356
|
"rate_limited",
|
|
379
357
|
"unauthorized"
|
|
380
358
|
],
|
|
381
|
-
errorSets: [
|
|
359
|
+
errorSets: [
|
|
360
|
+
"module:content",
|
|
361
|
+
"auth",
|
|
362
|
+
"request"
|
|
363
|
+
]
|
|
382
364
|
},
|
|
383
365
|
{
|
|
384
366
|
method: "POST",
|
|
@@ -396,12 +378,16 @@ var e = [
|
|
|
396
378
|
"rate_limited",
|
|
397
379
|
"unauthorized"
|
|
398
380
|
],
|
|
399
|
-
errorSets: [
|
|
381
|
+
errorSets: [
|
|
382
|
+
"module:content",
|
|
383
|
+
"auth",
|
|
384
|
+
"request"
|
|
385
|
+
]
|
|
400
386
|
},
|
|
401
387
|
{
|
|
402
|
-
method: "
|
|
388
|
+
method: "DELETE",
|
|
403
389
|
module: "content",
|
|
404
|
-
path: "/comments/{cid}/
|
|
390
|
+
path: "/comments/{cid}/reaction",
|
|
405
391
|
auth: "public",
|
|
406
392
|
permission: null,
|
|
407
393
|
query: [],
|
|
@@ -414,7 +400,11 @@ var e = [
|
|
|
414
400
|
"rate_limited",
|
|
415
401
|
"unauthorized"
|
|
416
402
|
],
|
|
417
|
-
errorSets: [
|
|
403
|
+
errorSets: [
|
|
404
|
+
"module:content",
|
|
405
|
+
"auth",
|
|
406
|
+
"request"
|
|
407
|
+
]
|
|
418
408
|
},
|
|
419
409
|
{
|
|
420
410
|
method: "POST",
|
|
@@ -432,7 +422,11 @@ var e = [
|
|
|
432
422
|
"rate_limited",
|
|
433
423
|
"unauthorized"
|
|
434
424
|
],
|
|
435
|
-
errorSets: [
|
|
425
|
+
errorSets: [
|
|
426
|
+
"module:content",
|
|
427
|
+
"auth",
|
|
428
|
+
"request"
|
|
429
|
+
]
|
|
436
430
|
},
|
|
437
431
|
{
|
|
438
432
|
method: "POST",
|
|
@@ -450,25 +444,11 @@ var e = [
|
|
|
450
444
|
"rate_limited",
|
|
451
445
|
"unauthorized"
|
|
452
446
|
],
|
|
453
|
-
errorSets: [
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
path: "/{kind}/{id}/neutral",
|
|
459
|
-
auth: "public",
|
|
460
|
-
permission: null,
|
|
461
|
-
query: [],
|
|
462
|
-
request: null,
|
|
463
|
-
responses: { 200: "ReactionCounts" },
|
|
464
|
-
errors: [
|
|
465
|
-
"forbidden",
|
|
466
|
-
"invalid_request",
|
|
467
|
-
"not_found",
|
|
468
|
-
"rate_limited",
|
|
469
|
-
"unauthorized"
|
|
470
|
-
],
|
|
471
|
-
errorSets: ["module:content", "request"]
|
|
447
|
+
errorSets: [
|
|
448
|
+
"module:content",
|
|
449
|
+
"auth",
|
|
450
|
+
"request"
|
|
451
|
+
]
|
|
472
452
|
},
|
|
473
453
|
{
|
|
474
454
|
method: "DELETE",
|
|
@@ -486,7 +466,11 @@ var e = [
|
|
|
486
466
|
"rate_limited",
|
|
487
467
|
"unauthorized"
|
|
488
468
|
],
|
|
489
|
-
errorSets: [
|
|
469
|
+
errorSets: [
|
|
470
|
+
"module:content",
|
|
471
|
+
"auth",
|
|
472
|
+
"request"
|
|
473
|
+
]
|
|
490
474
|
},
|
|
491
475
|
{
|
|
492
476
|
method: "GET",
|
|
@@ -498,7 +482,11 @@ var e = [
|
|
|
498
482
|
request: null,
|
|
499
483
|
responses: { 200: "ReactionCounts" },
|
|
500
484
|
errors: ["not_found"],
|
|
501
|
-
errorSets: [
|
|
485
|
+
errorSets: [
|
|
486
|
+
"module:content",
|
|
487
|
+
"auth",
|
|
488
|
+
"request"
|
|
489
|
+
]
|
|
502
490
|
},
|
|
503
491
|
{
|
|
504
492
|
method: "GET",
|
|
@@ -512,7 +500,7 @@ var e = [
|
|
|
512
500
|
errors: [],
|
|
513
501
|
errorSets: [
|
|
514
502
|
"module:content",
|
|
515
|
-
"
|
|
503
|
+
"auth",
|
|
516
504
|
"request"
|
|
517
505
|
]
|
|
518
506
|
},
|
|
@@ -532,7 +520,7 @@ var e = [
|
|
|
532
520
|
],
|
|
533
521
|
errorSets: [
|
|
534
522
|
"module:content",
|
|
535
|
-
"
|
|
523
|
+
"auth",
|
|
536
524
|
"request"
|
|
537
525
|
]
|
|
538
526
|
},
|
|
@@ -552,7 +540,7 @@ var e = [
|
|
|
552
540
|
],
|
|
553
541
|
errorSets: [
|
|
554
542
|
"module:content",
|
|
555
|
-
"
|
|
543
|
+
"auth",
|
|
556
544
|
"request"
|
|
557
545
|
]
|
|
558
546
|
},
|
|
@@ -566,7 +554,11 @@ var e = [
|
|
|
566
554
|
request: null,
|
|
567
555
|
responses: { 200: "FavoriteState" },
|
|
568
556
|
errors: ["invalid_request", "not_found"],
|
|
569
|
-
errorSets: [
|
|
557
|
+
errorSets: [
|
|
558
|
+
"module:content",
|
|
559
|
+
"auth",
|
|
560
|
+
"request"
|
|
561
|
+
]
|
|
570
562
|
},
|
|
571
563
|
{
|
|
572
564
|
method: "GET",
|
|
@@ -584,14 +576,18 @@ var e = [
|
|
|
584
576
|
request: null,
|
|
585
577
|
responses: { 200: "Poll[]" },
|
|
586
578
|
errors: [],
|
|
587
|
-
errorSets: [
|
|
579
|
+
errorSets: [
|
|
580
|
+
"module:content",
|
|
581
|
+
"auth",
|
|
582
|
+
"request"
|
|
583
|
+
]
|
|
588
584
|
},
|
|
589
585
|
{
|
|
590
586
|
method: "GET",
|
|
591
587
|
module: "content",
|
|
592
588
|
path: "/polls/admin",
|
|
593
589
|
auth: "staff",
|
|
594
|
-
permission: "
|
|
590
|
+
permission: "root:polls:write",
|
|
595
591
|
query: [
|
|
596
592
|
"language",
|
|
597
593
|
"month",
|
|
@@ -604,7 +600,7 @@ var e = [
|
|
|
604
600
|
errors: [],
|
|
605
601
|
errorSets: [
|
|
606
602
|
"module:content",
|
|
607
|
-
"
|
|
603
|
+
"auth",
|
|
608
604
|
"request"
|
|
609
605
|
]
|
|
610
606
|
},
|
|
@@ -618,21 +614,25 @@ var e = [
|
|
|
618
614
|
request: null,
|
|
619
615
|
responses: { 200: "Poll" },
|
|
620
616
|
errors: ["not_found"],
|
|
621
|
-
errorSets: [
|
|
617
|
+
errorSets: [
|
|
618
|
+
"module:content",
|
|
619
|
+
"auth",
|
|
620
|
+
"request"
|
|
621
|
+
]
|
|
622
622
|
},
|
|
623
623
|
{
|
|
624
624
|
method: "POST",
|
|
625
625
|
module: "content",
|
|
626
626
|
path: "/polls",
|
|
627
627
|
auth: "staff",
|
|
628
|
-
permission: "
|
|
628
|
+
permission: "root:polls:write",
|
|
629
629
|
query: [],
|
|
630
630
|
request: "PollInput",
|
|
631
631
|
responses: { 201: "Poll" },
|
|
632
632
|
errors: ["not_configured"],
|
|
633
633
|
errorSets: [
|
|
634
634
|
"module:content",
|
|
635
|
-
"
|
|
635
|
+
"auth",
|
|
636
636
|
"request"
|
|
637
637
|
]
|
|
638
638
|
},
|
|
@@ -641,14 +641,14 @@ var e = [
|
|
|
641
641
|
module: "content",
|
|
642
642
|
path: "/polls/{id}",
|
|
643
643
|
auth: "staff",
|
|
644
|
-
permission: "
|
|
644
|
+
permission: "root:polls:write",
|
|
645
645
|
query: [],
|
|
646
646
|
request: "PollUpdate",
|
|
647
647
|
responses: { 200: "Poll" },
|
|
648
648
|
errors: ["not_found"],
|
|
649
649
|
errorSets: [
|
|
650
650
|
"module:content",
|
|
651
|
-
"
|
|
651
|
+
"auth",
|
|
652
652
|
"request"
|
|
653
653
|
]
|
|
654
654
|
},
|
|
@@ -657,14 +657,14 @@ var e = [
|
|
|
657
657
|
module: "content",
|
|
658
658
|
path: "/polls/{id}",
|
|
659
659
|
auth: "staff",
|
|
660
|
-
permission: "
|
|
660
|
+
permission: "root:polls:write",
|
|
661
661
|
query: [],
|
|
662
662
|
request: null,
|
|
663
663
|
responses: { 204: null },
|
|
664
664
|
errors: ["not_found"],
|
|
665
665
|
errorSets: [
|
|
666
666
|
"module:content",
|
|
667
|
-
"
|
|
667
|
+
"auth",
|
|
668
668
|
"request"
|
|
669
669
|
]
|
|
670
670
|
},
|
|
@@ -683,7 +683,11 @@ var e = [
|
|
|
683
683
|
"rate_limited",
|
|
684
684
|
"unauthorized"
|
|
685
685
|
],
|
|
686
|
-
errorSets: [
|
|
686
|
+
errorSets: [
|
|
687
|
+
"module:content",
|
|
688
|
+
"auth",
|
|
689
|
+
"request"
|
|
690
|
+
]
|
|
687
691
|
},
|
|
688
692
|
{
|
|
689
693
|
method: "POST",
|
|
@@ -701,7 +705,7 @@ var e = [
|
|
|
701
705
|
],
|
|
702
706
|
errorSets: [
|
|
703
707
|
"module:content",
|
|
704
|
-
"
|
|
708
|
+
"auth",
|
|
705
709
|
"request"
|
|
706
710
|
]
|
|
707
711
|
},
|
|
@@ -710,14 +714,14 @@ var e = [
|
|
|
710
714
|
module: "content",
|
|
711
715
|
path: "/polls/{id}/image",
|
|
712
716
|
auth: "staff",
|
|
713
|
-
permission: "
|
|
717
|
+
permission: "root:polls:write",
|
|
714
718
|
query: [],
|
|
715
719
|
request: "ImageInput",
|
|
716
720
|
responses: { 200: "PollImage" },
|
|
717
721
|
errors: ["not_configured", "not_found"],
|
|
718
722
|
errorSets: [
|
|
719
723
|
"module:content",
|
|
720
|
-
"
|
|
724
|
+
"auth",
|
|
721
725
|
"request"
|
|
722
726
|
]
|
|
723
727
|
},
|
|
@@ -726,14 +730,14 @@ var e = [
|
|
|
726
730
|
module: "content",
|
|
727
731
|
path: "/polls/{id}/options",
|
|
728
732
|
auth: "staff",
|
|
729
|
-
permission: "
|
|
733
|
+
permission: "root:polls:write",
|
|
730
734
|
query: [],
|
|
731
735
|
request: "PollOptionPatch",
|
|
732
736
|
responses: { 201: "PollOption" },
|
|
733
737
|
errors: ["not_found"],
|
|
734
738
|
errorSets: [
|
|
735
739
|
"module:content",
|
|
736
|
-
"
|
|
740
|
+
"auth",
|
|
737
741
|
"request"
|
|
738
742
|
]
|
|
739
743
|
},
|
|
@@ -742,14 +746,14 @@ var e = [
|
|
|
742
746
|
module: "content",
|
|
743
747
|
path: "/polls/{id}/options/{oid}",
|
|
744
748
|
auth: "staff",
|
|
745
|
-
permission: "
|
|
749
|
+
permission: "root:polls:write",
|
|
746
750
|
query: [],
|
|
747
751
|
request: "PollOptionPatch",
|
|
748
752
|
responses: { 200: "PollOption" },
|
|
749
753
|
errors: ["not_configured", "not_found"],
|
|
750
754
|
errorSets: [
|
|
751
755
|
"module:content",
|
|
752
|
-
"
|
|
756
|
+
"auth",
|
|
753
757
|
"request"
|
|
754
758
|
]
|
|
755
759
|
},
|
|
@@ -758,14 +762,14 @@ var e = [
|
|
|
758
762
|
module: "content",
|
|
759
763
|
path: "/polls/{id}/options/{oid}",
|
|
760
764
|
auth: "staff",
|
|
761
|
-
permission: "
|
|
765
|
+
permission: "root:polls:write",
|
|
762
766
|
query: [],
|
|
763
767
|
request: null,
|
|
764
768
|
responses: { 204: null },
|
|
765
769
|
errors: ["invalid_request", "not_found"],
|
|
766
770
|
errorSets: [
|
|
767
771
|
"module:content",
|
|
768
|
-
"
|
|
772
|
+
"auth",
|
|
769
773
|
"request"
|
|
770
774
|
]
|
|
771
775
|
},
|
|
@@ -774,14 +778,14 @@ var e = [
|
|
|
774
778
|
module: "content",
|
|
775
779
|
path: "/polls/{id}/options/{oid}/image",
|
|
776
780
|
auth: "staff",
|
|
777
|
-
permission: "
|
|
781
|
+
permission: "root:polls:write",
|
|
778
782
|
query: [],
|
|
779
783
|
request: "ImageInput",
|
|
780
784
|
responses: { 200: "PollImage" },
|
|
781
785
|
errors: ["not_configured", "not_found"],
|
|
782
786
|
errorSets: [
|
|
783
787
|
"module:content",
|
|
784
|
-
"
|
|
788
|
+
"auth",
|
|
785
789
|
"request"
|
|
786
790
|
]
|
|
787
791
|
},
|
|
@@ -797,7 +801,7 @@ var e = [
|
|
|
797
801
|
errors: [],
|
|
798
802
|
errorSets: [
|
|
799
803
|
"module:content",
|
|
800
|
-
"
|
|
804
|
+
"auth",
|
|
801
805
|
"request"
|
|
802
806
|
]
|
|
803
807
|
},
|
|
@@ -813,7 +817,7 @@ var e = [
|
|
|
813
817
|
errors: [],
|
|
814
818
|
errorSets: [
|
|
815
819
|
"module:content",
|
|
816
|
-
"
|
|
820
|
+
"auth",
|
|
817
821
|
"request"
|
|
818
822
|
]
|
|
819
823
|
},
|
|
@@ -829,7 +833,7 @@ var e = [
|
|
|
829
833
|
errors: [],
|
|
830
834
|
errorSets: [
|
|
831
835
|
"module:content",
|
|
832
|
-
"
|
|
836
|
+
"auth",
|
|
833
837
|
"request"
|
|
834
838
|
]
|
|
835
839
|
},
|
|
@@ -838,14 +842,14 @@ var e = [
|
|
|
838
842
|
module: "content",
|
|
839
843
|
path: "/global-comment-bans",
|
|
840
844
|
auth: "staff",
|
|
841
|
-
permission: "
|
|
845
|
+
permission: "root:comments:ban",
|
|
842
846
|
query: ["limit", "offset"],
|
|
843
847
|
request: null,
|
|
844
848
|
responses: { 200: "CommentBan[]" },
|
|
845
849
|
errors: ["unauthorized"],
|
|
846
850
|
errorSets: [
|
|
847
851
|
"module:content",
|
|
848
|
-
"
|
|
852
|
+
"auth",
|
|
849
853
|
"request"
|
|
850
854
|
]
|
|
851
855
|
},
|
|
@@ -854,14 +858,14 @@ var e = [
|
|
|
854
858
|
module: "content",
|
|
855
859
|
path: "/global-comment-bans/{user}",
|
|
856
860
|
auth: "staff",
|
|
857
|
-
permission: "
|
|
861
|
+
permission: "root:comments:ban",
|
|
858
862
|
query: [],
|
|
859
863
|
request: "BanInput",
|
|
860
864
|
responses: { 200: "CommentBan" },
|
|
861
865
|
errors: ["unauthorized"],
|
|
862
866
|
errorSets: [
|
|
863
867
|
"module:content",
|
|
864
|
-
"
|
|
868
|
+
"auth",
|
|
865
869
|
"request"
|
|
866
870
|
]
|
|
867
871
|
},
|
|
@@ -870,14 +874,14 @@ var e = [
|
|
|
870
874
|
module: "content",
|
|
871
875
|
path: "/global-comment-bans/{user}",
|
|
872
876
|
auth: "staff",
|
|
873
|
-
permission: "
|
|
877
|
+
permission: "root:comments:ban",
|
|
874
878
|
query: [],
|
|
875
879
|
request: null,
|
|
876
880
|
responses: { 204: null },
|
|
877
881
|
errors: ["unauthorized"],
|
|
878
882
|
errorSets: [
|
|
879
883
|
"module:content",
|
|
880
|
-
"
|
|
884
|
+
"auth",
|
|
881
885
|
"request"
|
|
882
886
|
]
|
|
883
887
|
},
|
|
@@ -891,14 +895,18 @@ var e = [
|
|
|
891
895
|
request: null,
|
|
892
896
|
responses: { 200: "CommentStanding" },
|
|
893
897
|
errors: ["not_found"],
|
|
894
|
-
errorSets: [
|
|
898
|
+
errorSets: [
|
|
899
|
+
"module:content",
|
|
900
|
+
"auth",
|
|
901
|
+
"request"
|
|
902
|
+
]
|
|
895
903
|
},
|
|
896
904
|
{
|
|
897
905
|
method: "GET",
|
|
898
906
|
module: "content",
|
|
899
907
|
path: "/moderation/held",
|
|
900
908
|
auth: "staff",
|
|
901
|
-
permission: "
|
|
909
|
+
permission: "root:moderation:review",
|
|
902
910
|
query: [
|
|
903
911
|
"kind",
|
|
904
912
|
"cursor",
|
|
@@ -909,7 +917,7 @@ var e = [
|
|
|
909
917
|
errors: [],
|
|
910
918
|
errorSets: [
|
|
911
919
|
"module:content",
|
|
912
|
-
"
|
|
920
|
+
"auth",
|
|
913
921
|
"request"
|
|
914
922
|
]
|
|
915
923
|
},
|
|
@@ -918,14 +926,14 @@ var e = [
|
|
|
918
926
|
module: "content",
|
|
919
927
|
path: "/moderation/{kind}/{id}/resolve",
|
|
920
928
|
auth: "staff",
|
|
921
|
-
permission: "
|
|
929
|
+
permission: "root:moderation:review",
|
|
922
930
|
query: [],
|
|
923
931
|
request: "ResolveInput",
|
|
924
932
|
responses: { 200: "ReviewOutcome" },
|
|
925
933
|
errors: ["conflict", "not_found"],
|
|
926
934
|
errorSets: [
|
|
927
935
|
"module:content",
|
|
928
|
-
"
|
|
936
|
+
"auth",
|
|
929
937
|
"request"
|
|
930
938
|
]
|
|
931
939
|
},
|
|
@@ -950,7 +958,7 @@ var e = [
|
|
|
950
958
|
],
|
|
951
959
|
errorSets: [
|
|
952
960
|
"module:upload",
|
|
953
|
-
"
|
|
961
|
+
"auth",
|
|
954
962
|
"request"
|
|
955
963
|
]
|
|
956
964
|
},
|
|
@@ -966,7 +974,7 @@ var e = [
|
|
|
966
974
|
errors: ["forbidden", "not_found"],
|
|
967
975
|
errorSets: [
|
|
968
976
|
"module:upload",
|
|
969
|
-
"
|
|
977
|
+
"auth",
|
|
970
978
|
"request"
|
|
971
979
|
]
|
|
972
980
|
},
|
|
@@ -982,7 +990,7 @@ var e = [
|
|
|
982
990
|
errors: ["forbidden", "not_found"],
|
|
983
991
|
errorSets: [
|
|
984
992
|
"module:upload",
|
|
985
|
-
"
|
|
993
|
+
"auth",
|
|
986
994
|
"request"
|
|
987
995
|
]
|
|
988
996
|
},
|
|
@@ -1003,7 +1011,7 @@ var e = [
|
|
|
1003
1011
|
],
|
|
1004
1012
|
errorSets: [
|
|
1005
1013
|
"module:upload",
|
|
1006
|
-
"
|
|
1014
|
+
"auth",
|
|
1007
1015
|
"request"
|
|
1008
1016
|
]
|
|
1009
1017
|
},
|
|
@@ -1019,7 +1027,7 @@ var e = [
|
|
|
1019
1027
|
errors: ["forbidden", "not_found"],
|
|
1020
1028
|
errorSets: [
|
|
1021
1029
|
"module:upload",
|
|
1022
|
-
"
|
|
1030
|
+
"auth",
|
|
1023
1031
|
"request"
|
|
1024
1032
|
]
|
|
1025
1033
|
},
|
|
@@ -1046,7 +1054,7 @@ var e = [
|
|
|
1046
1054
|
],
|
|
1047
1055
|
errorSets: [
|
|
1048
1056
|
"module:upload",
|
|
1049
|
-
"
|
|
1057
|
+
"auth",
|
|
1050
1058
|
"request"
|
|
1051
1059
|
]
|
|
1052
1060
|
},
|
|
@@ -1068,7 +1076,7 @@ var e = [
|
|
|
1068
1076
|
errors: ["forbidden", "not_found"],
|
|
1069
1077
|
errorSets: [
|
|
1070
1078
|
"module:upload",
|
|
1071
|
-
"
|
|
1079
|
+
"auth",
|
|
1072
1080
|
"request"
|
|
1073
1081
|
]
|
|
1074
1082
|
},
|
|
@@ -1076,7 +1084,7 @@ var e = [
|
|
|
1076
1084
|
method: "GET",
|
|
1077
1085
|
module: "media",
|
|
1078
1086
|
path: "/presets",
|
|
1079
|
-
auth: "
|
|
1087
|
+
auth: "open",
|
|
1080
1088
|
permission: null,
|
|
1081
1089
|
query: [],
|
|
1082
1090
|
request: null,
|
|
@@ -1100,7 +1108,11 @@ var e = [
|
|
|
1100
1108
|
request: null,
|
|
1101
1109
|
responses: { 200: "ReadResult" },
|
|
1102
1110
|
errors: [],
|
|
1103
|
-
errorSets: [
|
|
1111
|
+
errorSets: [
|
|
1112
|
+
"module:media",
|
|
1113
|
+
"auth",
|
|
1114
|
+
"request"
|
|
1115
|
+
]
|
|
1104
1116
|
},
|
|
1105
1117
|
{
|
|
1106
1118
|
method: "GET",
|
|
@@ -1112,13 +1124,17 @@ var e = [
|
|
|
1112
1124
|
request: null,
|
|
1113
1125
|
responses: { 200: "application/vnd.apple.mpegurl" },
|
|
1114
1126
|
errors: [],
|
|
1115
|
-
errorSets: [
|
|
1127
|
+
errorSets: [
|
|
1128
|
+
"module:media",
|
|
1129
|
+
"auth",
|
|
1130
|
+
"request"
|
|
1131
|
+
]
|
|
1116
1132
|
},
|
|
1117
1133
|
{
|
|
1118
1134
|
method: "GET",
|
|
1119
1135
|
module: "codes",
|
|
1120
1136
|
path: "/{code}",
|
|
1121
|
-
auth: "
|
|
1137
|
+
auth: "open",
|
|
1122
1138
|
permission: null,
|
|
1123
1139
|
query: ["lang"],
|
|
1124
1140
|
request: null,
|
|
@@ -1131,7 +1147,7 @@ var e = [
|
|
|
1131
1147
|
module: "taxonomy",
|
|
1132
1148
|
path: "/nodes",
|
|
1133
1149
|
auth: "staff",
|
|
1134
|
-
permission: "
|
|
1150
|
+
permission: "root:taxonomy:write",
|
|
1135
1151
|
query: [
|
|
1136
1152
|
"kind",
|
|
1137
1153
|
"state",
|
|
@@ -1153,7 +1169,7 @@ var e = [
|
|
|
1153
1169
|
errors: [],
|
|
1154
1170
|
errorSets: [
|
|
1155
1171
|
"module:taxonomy",
|
|
1156
|
-
"
|
|
1172
|
+
"auth",
|
|
1157
1173
|
"request"
|
|
1158
1174
|
]
|
|
1159
1175
|
},
|
|
@@ -1162,14 +1178,14 @@ var e = [
|
|
|
1162
1178
|
module: "taxonomy",
|
|
1163
1179
|
path: "/nodes",
|
|
1164
1180
|
auth: "staff",
|
|
1165
|
-
permission: "
|
|
1181
|
+
permission: "root:taxonomy:write",
|
|
1166
1182
|
query: [],
|
|
1167
1183
|
request: "NodeInput[]",
|
|
1168
1184
|
responses: { 201: "Node[]" },
|
|
1169
1185
|
errors: ["conflict"],
|
|
1170
1186
|
errorSets: [
|
|
1171
1187
|
"module:taxonomy",
|
|
1172
|
-
"
|
|
1188
|
+
"auth",
|
|
1173
1189
|
"request"
|
|
1174
1190
|
]
|
|
1175
1191
|
},
|
|
@@ -1178,14 +1194,14 @@ var e = [
|
|
|
1178
1194
|
module: "taxonomy",
|
|
1179
1195
|
path: "/nodes/{id}",
|
|
1180
1196
|
auth: "staff",
|
|
1181
|
-
permission: "
|
|
1197
|
+
permission: "root:taxonomy:write",
|
|
1182
1198
|
query: [],
|
|
1183
1199
|
request: null,
|
|
1184
1200
|
responses: { 200: "NodeDetail" },
|
|
1185
1201
|
errors: ["not_found"],
|
|
1186
1202
|
errorSets: [
|
|
1187
1203
|
"module:taxonomy",
|
|
1188
|
-
"
|
|
1204
|
+
"auth",
|
|
1189
1205
|
"request"
|
|
1190
1206
|
]
|
|
1191
1207
|
},
|
|
@@ -1194,14 +1210,14 @@ var e = [
|
|
|
1194
1210
|
module: "taxonomy",
|
|
1195
1211
|
path: "/nodes/{id}",
|
|
1196
1212
|
auth: "staff",
|
|
1197
|
-
permission: "
|
|
1213
|
+
permission: "root:taxonomy:write",
|
|
1198
1214
|
query: [],
|
|
1199
1215
|
request: "NodeUpdate",
|
|
1200
1216
|
responses: { 200: "Node" },
|
|
1201
1217
|
errors: ["conflict", "not_found"],
|
|
1202
1218
|
errorSets: [
|
|
1203
1219
|
"module:taxonomy",
|
|
1204
|
-
"
|
|
1220
|
+
"auth",
|
|
1205
1221
|
"request"
|
|
1206
1222
|
]
|
|
1207
1223
|
},
|
|
@@ -1210,14 +1226,14 @@ var e = [
|
|
|
1210
1226
|
module: "taxonomy",
|
|
1211
1227
|
path: "/nodes/{id}",
|
|
1212
1228
|
auth: "staff",
|
|
1213
|
-
permission: "
|
|
1229
|
+
permission: "root:taxonomy:write",
|
|
1214
1230
|
query: [],
|
|
1215
1231
|
request: null,
|
|
1216
1232
|
responses: { 200: "Node" },
|
|
1217
1233
|
errors: ["not_found"],
|
|
1218
1234
|
errorSets: [
|
|
1219
1235
|
"module:taxonomy",
|
|
1220
|
-
"
|
|
1236
|
+
"auth",
|
|
1221
1237
|
"request"
|
|
1222
1238
|
]
|
|
1223
1239
|
},
|
|
@@ -1226,14 +1242,14 @@ var e = [
|
|
|
1226
1242
|
module: "taxonomy",
|
|
1227
1243
|
path: "/nodes/{id}/names",
|
|
1228
1244
|
auth: "staff",
|
|
1229
|
-
permission: "
|
|
1245
|
+
permission: "root:taxonomy:write",
|
|
1230
1246
|
query: [],
|
|
1231
1247
|
request: "Name[]",
|
|
1232
1248
|
responses: { 200: "NodeDetail" },
|
|
1233
1249
|
errors: ["conflict", "not_found"],
|
|
1234
1250
|
errorSets: [
|
|
1235
1251
|
"module:taxonomy",
|
|
1236
|
-
"
|
|
1252
|
+
"auth",
|
|
1237
1253
|
"request"
|
|
1238
1254
|
]
|
|
1239
1255
|
},
|
|
@@ -1242,14 +1258,14 @@ var e = [
|
|
|
1242
1258
|
module: "taxonomy",
|
|
1243
1259
|
path: "/nodes/{id}/names",
|
|
1244
1260
|
auth: "staff",
|
|
1245
|
-
permission: "
|
|
1261
|
+
permission: "root:taxonomy:write",
|
|
1246
1262
|
query: [],
|
|
1247
1263
|
request: "Name[]",
|
|
1248
1264
|
responses: { 200: "NodeDetail" },
|
|
1249
1265
|
errors: ["conflict", "not_found"],
|
|
1250
1266
|
errorSets: [
|
|
1251
1267
|
"module:taxonomy",
|
|
1252
|
-
"
|
|
1268
|
+
"auth",
|
|
1253
1269
|
"request"
|
|
1254
1270
|
]
|
|
1255
1271
|
},
|
|
@@ -1258,14 +1274,14 @@ var e = [
|
|
|
1258
1274
|
module: "taxonomy",
|
|
1259
1275
|
path: "/nodes/{id}/names",
|
|
1260
1276
|
auth: "staff",
|
|
1261
|
-
permission: "
|
|
1277
|
+
permission: "root:taxonomy:write",
|
|
1262
1278
|
query: [],
|
|
1263
1279
|
request: "Name[]",
|
|
1264
1280
|
responses: { 200: "NodeDetail" },
|
|
1265
1281
|
errors: ["not_found"],
|
|
1266
1282
|
errorSets: [
|
|
1267
1283
|
"module:taxonomy",
|
|
1268
|
-
"
|
|
1284
|
+
"auth",
|
|
1269
1285
|
"request"
|
|
1270
1286
|
]
|
|
1271
1287
|
},
|
|
@@ -1274,14 +1290,14 @@ var e = [
|
|
|
1274
1290
|
module: "taxonomy",
|
|
1275
1291
|
path: "/nodes/{id}/merge",
|
|
1276
1292
|
auth: "staff",
|
|
1277
|
-
permission: "
|
|
1293
|
+
permission: "root:taxonomy:write",
|
|
1278
1294
|
query: [],
|
|
1279
1295
|
request: "MergeInput",
|
|
1280
1296
|
responses: { 200: "MergeReport" },
|
|
1281
1297
|
errors: ["conflict", "not_found"],
|
|
1282
1298
|
errorSets: [
|
|
1283
1299
|
"module:taxonomy",
|
|
1284
|
-
"
|
|
1300
|
+
"auth",
|
|
1285
1301
|
"request"
|
|
1286
1302
|
]
|
|
1287
1303
|
},
|
|
@@ -1290,14 +1306,14 @@ var e = [
|
|
|
1290
1306
|
module: "taxonomy",
|
|
1291
1307
|
path: "/edges",
|
|
1292
1308
|
auth: "staff",
|
|
1293
|
-
permission: "
|
|
1309
|
+
permission: "root:taxonomy:write",
|
|
1294
1310
|
query: [],
|
|
1295
1311
|
request: "Edge[]",
|
|
1296
1312
|
responses: { 200: "EdgesWritten" },
|
|
1297
1313
|
errors: ["conflict", "not_found"],
|
|
1298
1314
|
errorSets: [
|
|
1299
1315
|
"module:taxonomy",
|
|
1300
|
-
"
|
|
1316
|
+
"auth",
|
|
1301
1317
|
"request"
|
|
1302
1318
|
]
|
|
1303
1319
|
},
|
|
@@ -1306,14 +1322,14 @@ var e = [
|
|
|
1306
1322
|
module: "taxonomy",
|
|
1307
1323
|
path: "/edges",
|
|
1308
1324
|
auth: "staff",
|
|
1309
|
-
permission: "
|
|
1325
|
+
permission: "root:taxonomy:write",
|
|
1310
1326
|
query: [],
|
|
1311
1327
|
request: "Edge[]",
|
|
1312
1328
|
responses: { 200: "EdgesWritten" },
|
|
1313
1329
|
errors: [],
|
|
1314
1330
|
errorSets: [
|
|
1315
1331
|
"module:taxonomy",
|
|
1316
|
-
"
|
|
1332
|
+
"auth",
|
|
1317
1333
|
"request"
|
|
1318
1334
|
]
|
|
1319
1335
|
},
|
|
@@ -1322,14 +1338,14 @@ var e = [
|
|
|
1322
1338
|
module: "taxonomy",
|
|
1323
1339
|
path: "/assignments",
|
|
1324
1340
|
auth: "staff",
|
|
1325
|
-
permission: "
|
|
1341
|
+
permission: "root:taxonomy:write",
|
|
1326
1342
|
query: ["suppress_counts"],
|
|
1327
1343
|
request: "Assignment[]",
|
|
1328
1344
|
responses: { 200: "AssignmentsWritten" },
|
|
1329
1345
|
errors: ["conflict", "not_found"],
|
|
1330
1346
|
errorSets: [
|
|
1331
1347
|
"module:taxonomy",
|
|
1332
|
-
"
|
|
1348
|
+
"auth",
|
|
1333
1349
|
"request"
|
|
1334
1350
|
]
|
|
1335
1351
|
},
|
|
@@ -1338,14 +1354,14 @@ var e = [
|
|
|
1338
1354
|
module: "taxonomy",
|
|
1339
1355
|
path: "/assignments",
|
|
1340
1356
|
auth: "staff",
|
|
1341
|
-
permission: "
|
|
1357
|
+
permission: "root:taxonomy:write",
|
|
1342
1358
|
query: ["suppress_counts"],
|
|
1343
1359
|
request: "Assignment[]",
|
|
1344
1360
|
responses: { 200: "AssignmentsWritten" },
|
|
1345
1361
|
errors: [],
|
|
1346
1362
|
errorSets: [
|
|
1347
1363
|
"module:taxonomy",
|
|
1348
|
-
"
|
|
1364
|
+
"auth",
|
|
1349
1365
|
"request"
|
|
1350
1366
|
]
|
|
1351
1367
|
},
|
|
@@ -1354,14 +1370,14 @@ var e = [
|
|
|
1354
1370
|
module: "taxonomy",
|
|
1355
1371
|
path: "/effective",
|
|
1356
1372
|
auth: "staff",
|
|
1357
|
-
permission: "
|
|
1373
|
+
permission: "root:taxonomy:write",
|
|
1358
1374
|
query: [],
|
|
1359
1375
|
request: "ContentRef[]",
|
|
1360
1376
|
responses: { 200: "EffectiveTagsOf[]" },
|
|
1361
1377
|
errors: [],
|
|
1362
1378
|
errorSets: [
|
|
1363
1379
|
"module:taxonomy",
|
|
1364
|
-
"
|
|
1380
|
+
"auth",
|
|
1365
1381
|
"request"
|
|
1366
1382
|
]
|
|
1367
1383
|
},
|
|
@@ -1370,14 +1386,14 @@ var e = [
|
|
|
1370
1386
|
module: "taxonomy",
|
|
1371
1387
|
path: "/counts",
|
|
1372
1388
|
auth: "staff",
|
|
1373
|
-
permission: "
|
|
1389
|
+
permission: "root:taxonomy:write",
|
|
1374
1390
|
query: ["taxonomy_id"],
|
|
1375
1391
|
request: null,
|
|
1376
1392
|
responses: { 200: "Record<string, Count[]>" },
|
|
1377
1393
|
errors: [],
|
|
1378
1394
|
errorSets: [
|
|
1379
1395
|
"module:taxonomy",
|
|
1380
|
-
"
|
|
1396
|
+
"auth",
|
|
1381
1397
|
"request"
|
|
1382
1398
|
]
|
|
1383
1399
|
},
|
|
@@ -1386,12 +1402,12 @@ var e = [
|
|
|
1386
1402
|
module: "taxonomy",
|
|
1387
1403
|
path: "/counts/rebuild",
|
|
1388
1404
|
auth: "staff",
|
|
1389
|
-
permission: "
|
|
1405
|
+
permission: "root:taxonomy:write",
|
|
1390
1406
|
query: [],
|
|
1391
1407
|
request: null,
|
|
1392
1408
|
responses: { 200: "CountsRebuilt" },
|
|
1393
1409
|
errors: [],
|
|
1394
|
-
errorSets: ["module:taxonomy", "
|
|
1410
|
+
errorSets: ["module:taxonomy", "auth"]
|
|
1395
1411
|
}
|
|
1396
1412
|
];
|
|
1397
1413
|
//#endregion
|