@openrails/contentkit-ui 0.70.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/dist/client/content/comments.d.ts +2 -2
- 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 +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 +118 -118
- package/dist/client/generated/routes.js +205 -117
- package/dist/client/generated/routes.js.map +1 -1
- package/dist/client/generated/wire.d.ts +1 -0
- package/dist/client/generated/wire.js.map +1 -1
- package/dist/client/taxonomy.d.ts +1 -1
- package/dist/client/taxonomy.js.map +1 -1
- 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 +3 -3
- package/dist/react/posts.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,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,14 +240,18 @@ 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",
|
|
237
257
|
"limit",
|
|
@@ -242,7 +262,7 @@ var e = [
|
|
|
242
262
|
errors: [],
|
|
243
263
|
errorSets: [
|
|
244
264
|
"module:content",
|
|
245
|
-
"
|
|
265
|
+
"auth",
|
|
246
266
|
"request"
|
|
247
267
|
]
|
|
248
268
|
},
|
|
@@ -251,14 +271,14 @@ var e = [
|
|
|
251
271
|
module: "content",
|
|
252
272
|
path: "/comments/{cid}/restore",
|
|
253
273
|
auth: "staff",
|
|
254
|
-
permission: "
|
|
274
|
+
permission: "root:comments:moderate",
|
|
255
275
|
query: [],
|
|
256
276
|
request: null,
|
|
257
277
|
responses: { 200: "Restored" },
|
|
258
278
|
errors: ["not_found"],
|
|
259
279
|
errorSets: [
|
|
260
280
|
"module:content",
|
|
261
|
-
"
|
|
281
|
+
"auth",
|
|
262
282
|
"request"
|
|
263
283
|
]
|
|
264
284
|
},
|
|
@@ -272,7 +292,11 @@ var e = [
|
|
|
272
292
|
request: null,
|
|
273
293
|
responses: { 200: "Comment[]" },
|
|
274
294
|
errors: ["not_found"],
|
|
275
|
-
errorSets: [
|
|
295
|
+
errorSets: [
|
|
296
|
+
"module:content",
|
|
297
|
+
"auth",
|
|
298
|
+
"request"
|
|
299
|
+
]
|
|
276
300
|
},
|
|
277
301
|
{
|
|
278
302
|
method: "PATCH",
|
|
@@ -294,7 +318,11 @@ var e = [
|
|
|
294
318
|
"moderation_rejected",
|
|
295
319
|
"not_found"
|
|
296
320
|
],
|
|
297
|
-
errorSets: [
|
|
321
|
+
errorSets: [
|
|
322
|
+
"module:content",
|
|
323
|
+
"auth",
|
|
324
|
+
"request"
|
|
325
|
+
]
|
|
298
326
|
},
|
|
299
327
|
{
|
|
300
328
|
method: "DELETE",
|
|
@@ -306,7 +334,11 @@ var e = [
|
|
|
306
334
|
request: null,
|
|
307
335
|
responses: { 204: null },
|
|
308
336
|
errors: ["forbidden", "not_found"],
|
|
309
|
-
errorSets: [
|
|
337
|
+
errorSets: [
|
|
338
|
+
"module:content",
|
|
339
|
+
"auth",
|
|
340
|
+
"request"
|
|
341
|
+
]
|
|
310
342
|
},
|
|
311
343
|
{
|
|
312
344
|
method: "POST",
|
|
@@ -324,7 +356,11 @@ var e = [
|
|
|
324
356
|
"rate_limited",
|
|
325
357
|
"unauthorized"
|
|
326
358
|
],
|
|
327
|
-
errorSets: [
|
|
359
|
+
errorSets: [
|
|
360
|
+
"module:content",
|
|
361
|
+
"auth",
|
|
362
|
+
"request"
|
|
363
|
+
]
|
|
328
364
|
},
|
|
329
365
|
{
|
|
330
366
|
method: "POST",
|
|
@@ -342,7 +378,11 @@ var e = [
|
|
|
342
378
|
"rate_limited",
|
|
343
379
|
"unauthorized"
|
|
344
380
|
],
|
|
345
|
-
errorSets: [
|
|
381
|
+
errorSets: [
|
|
382
|
+
"module:content",
|
|
383
|
+
"auth",
|
|
384
|
+
"request"
|
|
385
|
+
]
|
|
346
386
|
},
|
|
347
387
|
{
|
|
348
388
|
method: "DELETE",
|
|
@@ -360,7 +400,11 @@ var e = [
|
|
|
360
400
|
"rate_limited",
|
|
361
401
|
"unauthorized"
|
|
362
402
|
],
|
|
363
|
-
errorSets: [
|
|
403
|
+
errorSets: [
|
|
404
|
+
"module:content",
|
|
405
|
+
"auth",
|
|
406
|
+
"request"
|
|
407
|
+
]
|
|
364
408
|
},
|
|
365
409
|
{
|
|
366
410
|
method: "POST",
|
|
@@ -378,7 +422,11 @@ var e = [
|
|
|
378
422
|
"rate_limited",
|
|
379
423
|
"unauthorized"
|
|
380
424
|
],
|
|
381
|
-
errorSets: [
|
|
425
|
+
errorSets: [
|
|
426
|
+
"module:content",
|
|
427
|
+
"auth",
|
|
428
|
+
"request"
|
|
429
|
+
]
|
|
382
430
|
},
|
|
383
431
|
{
|
|
384
432
|
method: "POST",
|
|
@@ -396,7 +444,11 @@ var e = [
|
|
|
396
444
|
"rate_limited",
|
|
397
445
|
"unauthorized"
|
|
398
446
|
],
|
|
399
|
-
errorSets: [
|
|
447
|
+
errorSets: [
|
|
448
|
+
"module:content",
|
|
449
|
+
"auth",
|
|
450
|
+
"request"
|
|
451
|
+
]
|
|
400
452
|
},
|
|
401
453
|
{
|
|
402
454
|
method: "DELETE",
|
|
@@ -414,7 +466,11 @@ var e = [
|
|
|
414
466
|
"rate_limited",
|
|
415
467
|
"unauthorized"
|
|
416
468
|
],
|
|
417
|
-
errorSets: [
|
|
469
|
+
errorSets: [
|
|
470
|
+
"module:content",
|
|
471
|
+
"auth",
|
|
472
|
+
"request"
|
|
473
|
+
]
|
|
418
474
|
},
|
|
419
475
|
{
|
|
420
476
|
method: "GET",
|
|
@@ -426,7 +482,11 @@ var e = [
|
|
|
426
482
|
request: null,
|
|
427
483
|
responses: { 200: "ReactionCounts" },
|
|
428
484
|
errors: ["not_found"],
|
|
429
|
-
errorSets: [
|
|
485
|
+
errorSets: [
|
|
486
|
+
"module:content",
|
|
487
|
+
"auth",
|
|
488
|
+
"request"
|
|
489
|
+
]
|
|
430
490
|
},
|
|
431
491
|
{
|
|
432
492
|
method: "GET",
|
|
@@ -440,7 +500,7 @@ var e = [
|
|
|
440
500
|
errors: [],
|
|
441
501
|
errorSets: [
|
|
442
502
|
"module:content",
|
|
443
|
-
"
|
|
503
|
+
"auth",
|
|
444
504
|
"request"
|
|
445
505
|
]
|
|
446
506
|
},
|
|
@@ -460,7 +520,7 @@ var e = [
|
|
|
460
520
|
],
|
|
461
521
|
errorSets: [
|
|
462
522
|
"module:content",
|
|
463
|
-
"
|
|
523
|
+
"auth",
|
|
464
524
|
"request"
|
|
465
525
|
]
|
|
466
526
|
},
|
|
@@ -480,7 +540,7 @@ var e = [
|
|
|
480
540
|
],
|
|
481
541
|
errorSets: [
|
|
482
542
|
"module:content",
|
|
483
|
-
"
|
|
543
|
+
"auth",
|
|
484
544
|
"request"
|
|
485
545
|
]
|
|
486
546
|
},
|
|
@@ -494,7 +554,11 @@ var e = [
|
|
|
494
554
|
request: null,
|
|
495
555
|
responses: { 200: "FavoriteState" },
|
|
496
556
|
errors: ["invalid_request", "not_found"],
|
|
497
|
-
errorSets: [
|
|
557
|
+
errorSets: [
|
|
558
|
+
"module:content",
|
|
559
|
+
"auth",
|
|
560
|
+
"request"
|
|
561
|
+
]
|
|
498
562
|
},
|
|
499
563
|
{
|
|
500
564
|
method: "GET",
|
|
@@ -512,14 +576,18 @@ var e = [
|
|
|
512
576
|
request: null,
|
|
513
577
|
responses: { 200: "Poll[]" },
|
|
514
578
|
errors: [],
|
|
515
|
-
errorSets: [
|
|
579
|
+
errorSets: [
|
|
580
|
+
"module:content",
|
|
581
|
+
"auth",
|
|
582
|
+
"request"
|
|
583
|
+
]
|
|
516
584
|
},
|
|
517
585
|
{
|
|
518
586
|
method: "GET",
|
|
519
587
|
module: "content",
|
|
520
588
|
path: "/polls/admin",
|
|
521
589
|
auth: "staff",
|
|
522
|
-
permission: "
|
|
590
|
+
permission: "root:polls:write",
|
|
523
591
|
query: [
|
|
524
592
|
"language",
|
|
525
593
|
"month",
|
|
@@ -532,7 +600,7 @@ var e = [
|
|
|
532
600
|
errors: [],
|
|
533
601
|
errorSets: [
|
|
534
602
|
"module:content",
|
|
535
|
-
"
|
|
603
|
+
"auth",
|
|
536
604
|
"request"
|
|
537
605
|
]
|
|
538
606
|
},
|
|
@@ -546,21 +614,25 @@ var e = [
|
|
|
546
614
|
request: null,
|
|
547
615
|
responses: { 200: "Poll" },
|
|
548
616
|
errors: ["not_found"],
|
|
549
|
-
errorSets: [
|
|
617
|
+
errorSets: [
|
|
618
|
+
"module:content",
|
|
619
|
+
"auth",
|
|
620
|
+
"request"
|
|
621
|
+
]
|
|
550
622
|
},
|
|
551
623
|
{
|
|
552
624
|
method: "POST",
|
|
553
625
|
module: "content",
|
|
554
626
|
path: "/polls",
|
|
555
627
|
auth: "staff",
|
|
556
|
-
permission: "
|
|
628
|
+
permission: "root:polls:write",
|
|
557
629
|
query: [],
|
|
558
630
|
request: "PollInput",
|
|
559
631
|
responses: { 201: "Poll" },
|
|
560
632
|
errors: ["not_configured"],
|
|
561
633
|
errorSets: [
|
|
562
634
|
"module:content",
|
|
563
|
-
"
|
|
635
|
+
"auth",
|
|
564
636
|
"request"
|
|
565
637
|
]
|
|
566
638
|
},
|
|
@@ -569,14 +641,14 @@ var e = [
|
|
|
569
641
|
module: "content",
|
|
570
642
|
path: "/polls/{id}",
|
|
571
643
|
auth: "staff",
|
|
572
|
-
permission: "
|
|
644
|
+
permission: "root:polls:write",
|
|
573
645
|
query: [],
|
|
574
646
|
request: "PollUpdate",
|
|
575
647
|
responses: { 200: "Poll" },
|
|
576
648
|
errors: ["not_found"],
|
|
577
649
|
errorSets: [
|
|
578
650
|
"module:content",
|
|
579
|
-
"
|
|
651
|
+
"auth",
|
|
580
652
|
"request"
|
|
581
653
|
]
|
|
582
654
|
},
|
|
@@ -585,14 +657,14 @@ var e = [
|
|
|
585
657
|
module: "content",
|
|
586
658
|
path: "/polls/{id}",
|
|
587
659
|
auth: "staff",
|
|
588
|
-
permission: "
|
|
660
|
+
permission: "root:polls:write",
|
|
589
661
|
query: [],
|
|
590
662
|
request: null,
|
|
591
663
|
responses: { 204: null },
|
|
592
664
|
errors: ["not_found"],
|
|
593
665
|
errorSets: [
|
|
594
666
|
"module:content",
|
|
595
|
-
"
|
|
667
|
+
"auth",
|
|
596
668
|
"request"
|
|
597
669
|
]
|
|
598
670
|
},
|
|
@@ -611,7 +683,11 @@ var e = [
|
|
|
611
683
|
"rate_limited",
|
|
612
684
|
"unauthorized"
|
|
613
685
|
],
|
|
614
|
-
errorSets: [
|
|
686
|
+
errorSets: [
|
|
687
|
+
"module:content",
|
|
688
|
+
"auth",
|
|
689
|
+
"request"
|
|
690
|
+
]
|
|
615
691
|
},
|
|
616
692
|
{
|
|
617
693
|
method: "POST",
|
|
@@ -629,7 +705,7 @@ var e = [
|
|
|
629
705
|
],
|
|
630
706
|
errorSets: [
|
|
631
707
|
"module:content",
|
|
632
|
-
"
|
|
708
|
+
"auth",
|
|
633
709
|
"request"
|
|
634
710
|
]
|
|
635
711
|
},
|
|
@@ -638,14 +714,14 @@ var e = [
|
|
|
638
714
|
module: "content",
|
|
639
715
|
path: "/polls/{id}/image",
|
|
640
716
|
auth: "staff",
|
|
641
|
-
permission: "
|
|
717
|
+
permission: "root:polls:write",
|
|
642
718
|
query: [],
|
|
643
719
|
request: "ImageInput",
|
|
644
720
|
responses: { 200: "PollImage" },
|
|
645
721
|
errors: ["not_configured", "not_found"],
|
|
646
722
|
errorSets: [
|
|
647
723
|
"module:content",
|
|
648
|
-
"
|
|
724
|
+
"auth",
|
|
649
725
|
"request"
|
|
650
726
|
]
|
|
651
727
|
},
|
|
@@ -654,14 +730,14 @@ var e = [
|
|
|
654
730
|
module: "content",
|
|
655
731
|
path: "/polls/{id}/options",
|
|
656
732
|
auth: "staff",
|
|
657
|
-
permission: "
|
|
733
|
+
permission: "root:polls:write",
|
|
658
734
|
query: [],
|
|
659
735
|
request: "PollOptionPatch",
|
|
660
736
|
responses: { 201: "PollOption" },
|
|
661
737
|
errors: ["not_found"],
|
|
662
738
|
errorSets: [
|
|
663
739
|
"module:content",
|
|
664
|
-
"
|
|
740
|
+
"auth",
|
|
665
741
|
"request"
|
|
666
742
|
]
|
|
667
743
|
},
|
|
@@ -670,14 +746,14 @@ var e = [
|
|
|
670
746
|
module: "content",
|
|
671
747
|
path: "/polls/{id}/options/{oid}",
|
|
672
748
|
auth: "staff",
|
|
673
|
-
permission: "
|
|
749
|
+
permission: "root:polls:write",
|
|
674
750
|
query: [],
|
|
675
751
|
request: "PollOptionPatch",
|
|
676
752
|
responses: { 200: "PollOption" },
|
|
677
753
|
errors: ["not_configured", "not_found"],
|
|
678
754
|
errorSets: [
|
|
679
755
|
"module:content",
|
|
680
|
-
"
|
|
756
|
+
"auth",
|
|
681
757
|
"request"
|
|
682
758
|
]
|
|
683
759
|
},
|
|
@@ -686,14 +762,14 @@ var e = [
|
|
|
686
762
|
module: "content",
|
|
687
763
|
path: "/polls/{id}/options/{oid}",
|
|
688
764
|
auth: "staff",
|
|
689
|
-
permission: "
|
|
765
|
+
permission: "root:polls:write",
|
|
690
766
|
query: [],
|
|
691
767
|
request: null,
|
|
692
768
|
responses: { 204: null },
|
|
693
769
|
errors: ["invalid_request", "not_found"],
|
|
694
770
|
errorSets: [
|
|
695
771
|
"module:content",
|
|
696
|
-
"
|
|
772
|
+
"auth",
|
|
697
773
|
"request"
|
|
698
774
|
]
|
|
699
775
|
},
|
|
@@ -702,14 +778,14 @@ var e = [
|
|
|
702
778
|
module: "content",
|
|
703
779
|
path: "/polls/{id}/options/{oid}/image",
|
|
704
780
|
auth: "staff",
|
|
705
|
-
permission: "
|
|
781
|
+
permission: "root:polls:write",
|
|
706
782
|
query: [],
|
|
707
783
|
request: "ImageInput",
|
|
708
784
|
responses: { 200: "PollImage" },
|
|
709
785
|
errors: ["not_configured", "not_found"],
|
|
710
786
|
errorSets: [
|
|
711
787
|
"module:content",
|
|
712
|
-
"
|
|
788
|
+
"auth",
|
|
713
789
|
"request"
|
|
714
790
|
]
|
|
715
791
|
},
|
|
@@ -725,7 +801,7 @@ var e = [
|
|
|
725
801
|
errors: [],
|
|
726
802
|
errorSets: [
|
|
727
803
|
"module:content",
|
|
728
|
-
"
|
|
804
|
+
"auth",
|
|
729
805
|
"request"
|
|
730
806
|
]
|
|
731
807
|
},
|
|
@@ -741,7 +817,7 @@ var e = [
|
|
|
741
817
|
errors: [],
|
|
742
818
|
errorSets: [
|
|
743
819
|
"module:content",
|
|
744
|
-
"
|
|
820
|
+
"auth",
|
|
745
821
|
"request"
|
|
746
822
|
]
|
|
747
823
|
},
|
|
@@ -757,7 +833,7 @@ var e = [
|
|
|
757
833
|
errors: [],
|
|
758
834
|
errorSets: [
|
|
759
835
|
"module:content",
|
|
760
|
-
"
|
|
836
|
+
"auth",
|
|
761
837
|
"request"
|
|
762
838
|
]
|
|
763
839
|
},
|
|
@@ -766,14 +842,14 @@ var e = [
|
|
|
766
842
|
module: "content",
|
|
767
843
|
path: "/global-comment-bans",
|
|
768
844
|
auth: "staff",
|
|
769
|
-
permission: "
|
|
845
|
+
permission: "root:comments:ban",
|
|
770
846
|
query: ["limit", "offset"],
|
|
771
847
|
request: null,
|
|
772
848
|
responses: { 200: "CommentBan[]" },
|
|
773
849
|
errors: ["unauthorized"],
|
|
774
850
|
errorSets: [
|
|
775
851
|
"module:content",
|
|
776
|
-
"
|
|
852
|
+
"auth",
|
|
777
853
|
"request"
|
|
778
854
|
]
|
|
779
855
|
},
|
|
@@ -782,14 +858,14 @@ var e = [
|
|
|
782
858
|
module: "content",
|
|
783
859
|
path: "/global-comment-bans/{user}",
|
|
784
860
|
auth: "staff",
|
|
785
|
-
permission: "
|
|
861
|
+
permission: "root:comments:ban",
|
|
786
862
|
query: [],
|
|
787
863
|
request: "BanInput",
|
|
788
864
|
responses: { 200: "CommentBan" },
|
|
789
865
|
errors: ["unauthorized"],
|
|
790
866
|
errorSets: [
|
|
791
867
|
"module:content",
|
|
792
|
-
"
|
|
868
|
+
"auth",
|
|
793
869
|
"request"
|
|
794
870
|
]
|
|
795
871
|
},
|
|
@@ -798,14 +874,14 @@ var e = [
|
|
|
798
874
|
module: "content",
|
|
799
875
|
path: "/global-comment-bans/{user}",
|
|
800
876
|
auth: "staff",
|
|
801
|
-
permission: "
|
|
877
|
+
permission: "root:comments:ban",
|
|
802
878
|
query: [],
|
|
803
879
|
request: null,
|
|
804
880
|
responses: { 204: null },
|
|
805
881
|
errors: ["unauthorized"],
|
|
806
882
|
errorSets: [
|
|
807
883
|
"module:content",
|
|
808
|
-
"
|
|
884
|
+
"auth",
|
|
809
885
|
"request"
|
|
810
886
|
]
|
|
811
887
|
},
|
|
@@ -819,14 +895,18 @@ var e = [
|
|
|
819
895
|
request: null,
|
|
820
896
|
responses: { 200: "CommentStanding" },
|
|
821
897
|
errors: ["not_found"],
|
|
822
|
-
errorSets: [
|
|
898
|
+
errorSets: [
|
|
899
|
+
"module:content",
|
|
900
|
+
"auth",
|
|
901
|
+
"request"
|
|
902
|
+
]
|
|
823
903
|
},
|
|
824
904
|
{
|
|
825
905
|
method: "GET",
|
|
826
906
|
module: "content",
|
|
827
907
|
path: "/moderation/held",
|
|
828
908
|
auth: "staff",
|
|
829
|
-
permission: "
|
|
909
|
+
permission: "root:moderation:review",
|
|
830
910
|
query: [
|
|
831
911
|
"kind",
|
|
832
912
|
"cursor",
|
|
@@ -837,7 +917,7 @@ var e = [
|
|
|
837
917
|
errors: [],
|
|
838
918
|
errorSets: [
|
|
839
919
|
"module:content",
|
|
840
|
-
"
|
|
920
|
+
"auth",
|
|
841
921
|
"request"
|
|
842
922
|
]
|
|
843
923
|
},
|
|
@@ -846,14 +926,14 @@ var e = [
|
|
|
846
926
|
module: "content",
|
|
847
927
|
path: "/moderation/{kind}/{id}/resolve",
|
|
848
928
|
auth: "staff",
|
|
849
|
-
permission: "
|
|
929
|
+
permission: "root:moderation:review",
|
|
850
930
|
query: [],
|
|
851
931
|
request: "ResolveInput",
|
|
852
932
|
responses: { 200: "ReviewOutcome" },
|
|
853
933
|
errors: ["conflict", "not_found"],
|
|
854
934
|
errorSets: [
|
|
855
935
|
"module:content",
|
|
856
|
-
"
|
|
936
|
+
"auth",
|
|
857
937
|
"request"
|
|
858
938
|
]
|
|
859
939
|
},
|
|
@@ -878,7 +958,7 @@ var e = [
|
|
|
878
958
|
],
|
|
879
959
|
errorSets: [
|
|
880
960
|
"module:upload",
|
|
881
|
-
"
|
|
961
|
+
"auth",
|
|
882
962
|
"request"
|
|
883
963
|
]
|
|
884
964
|
},
|
|
@@ -894,7 +974,7 @@ var e = [
|
|
|
894
974
|
errors: ["forbidden", "not_found"],
|
|
895
975
|
errorSets: [
|
|
896
976
|
"module:upload",
|
|
897
|
-
"
|
|
977
|
+
"auth",
|
|
898
978
|
"request"
|
|
899
979
|
]
|
|
900
980
|
},
|
|
@@ -910,7 +990,7 @@ var e = [
|
|
|
910
990
|
errors: ["forbidden", "not_found"],
|
|
911
991
|
errorSets: [
|
|
912
992
|
"module:upload",
|
|
913
|
-
"
|
|
993
|
+
"auth",
|
|
914
994
|
"request"
|
|
915
995
|
]
|
|
916
996
|
},
|
|
@@ -931,7 +1011,7 @@ var e = [
|
|
|
931
1011
|
],
|
|
932
1012
|
errorSets: [
|
|
933
1013
|
"module:upload",
|
|
934
|
-
"
|
|
1014
|
+
"auth",
|
|
935
1015
|
"request"
|
|
936
1016
|
]
|
|
937
1017
|
},
|
|
@@ -947,7 +1027,7 @@ var e = [
|
|
|
947
1027
|
errors: ["forbidden", "not_found"],
|
|
948
1028
|
errorSets: [
|
|
949
1029
|
"module:upload",
|
|
950
|
-
"
|
|
1030
|
+
"auth",
|
|
951
1031
|
"request"
|
|
952
1032
|
]
|
|
953
1033
|
},
|
|
@@ -974,7 +1054,7 @@ var e = [
|
|
|
974
1054
|
],
|
|
975
1055
|
errorSets: [
|
|
976
1056
|
"module:upload",
|
|
977
|
-
"
|
|
1057
|
+
"auth",
|
|
978
1058
|
"request"
|
|
979
1059
|
]
|
|
980
1060
|
},
|
|
@@ -996,7 +1076,7 @@ var e = [
|
|
|
996
1076
|
errors: ["forbidden", "not_found"],
|
|
997
1077
|
errorSets: [
|
|
998
1078
|
"module:upload",
|
|
999
|
-
"
|
|
1079
|
+
"auth",
|
|
1000
1080
|
"request"
|
|
1001
1081
|
]
|
|
1002
1082
|
},
|
|
@@ -1004,7 +1084,7 @@ var e = [
|
|
|
1004
1084
|
method: "GET",
|
|
1005
1085
|
module: "media",
|
|
1006
1086
|
path: "/presets",
|
|
1007
|
-
auth: "
|
|
1087
|
+
auth: "open",
|
|
1008
1088
|
permission: null,
|
|
1009
1089
|
query: [],
|
|
1010
1090
|
request: null,
|
|
@@ -1028,7 +1108,11 @@ var e = [
|
|
|
1028
1108
|
request: null,
|
|
1029
1109
|
responses: { 200: "ReadResult" },
|
|
1030
1110
|
errors: [],
|
|
1031
|
-
errorSets: [
|
|
1111
|
+
errorSets: [
|
|
1112
|
+
"module:media",
|
|
1113
|
+
"auth",
|
|
1114
|
+
"request"
|
|
1115
|
+
]
|
|
1032
1116
|
},
|
|
1033
1117
|
{
|
|
1034
1118
|
method: "GET",
|
|
@@ -1040,13 +1124,17 @@ var e = [
|
|
|
1040
1124
|
request: null,
|
|
1041
1125
|
responses: { 200: "application/vnd.apple.mpegurl" },
|
|
1042
1126
|
errors: [],
|
|
1043
|
-
errorSets: [
|
|
1127
|
+
errorSets: [
|
|
1128
|
+
"module:media",
|
|
1129
|
+
"auth",
|
|
1130
|
+
"request"
|
|
1131
|
+
]
|
|
1044
1132
|
},
|
|
1045
1133
|
{
|
|
1046
1134
|
method: "GET",
|
|
1047
1135
|
module: "codes",
|
|
1048
1136
|
path: "/{code}",
|
|
1049
|
-
auth: "
|
|
1137
|
+
auth: "open",
|
|
1050
1138
|
permission: null,
|
|
1051
1139
|
query: ["lang"],
|
|
1052
1140
|
request: null,
|
|
@@ -1059,7 +1147,7 @@ var e = [
|
|
|
1059
1147
|
module: "taxonomy",
|
|
1060
1148
|
path: "/nodes",
|
|
1061
1149
|
auth: "staff",
|
|
1062
|
-
permission: "
|
|
1150
|
+
permission: "root:taxonomy:write",
|
|
1063
1151
|
query: [
|
|
1064
1152
|
"kind",
|
|
1065
1153
|
"state",
|
|
@@ -1081,7 +1169,7 @@ var e = [
|
|
|
1081
1169
|
errors: [],
|
|
1082
1170
|
errorSets: [
|
|
1083
1171
|
"module:taxonomy",
|
|
1084
|
-
"
|
|
1172
|
+
"auth",
|
|
1085
1173
|
"request"
|
|
1086
1174
|
]
|
|
1087
1175
|
},
|
|
@@ -1090,14 +1178,14 @@ var e = [
|
|
|
1090
1178
|
module: "taxonomy",
|
|
1091
1179
|
path: "/nodes",
|
|
1092
1180
|
auth: "staff",
|
|
1093
|
-
permission: "
|
|
1181
|
+
permission: "root:taxonomy:write",
|
|
1094
1182
|
query: [],
|
|
1095
1183
|
request: "NodeInput[]",
|
|
1096
1184
|
responses: { 201: "Node[]" },
|
|
1097
1185
|
errors: ["conflict"],
|
|
1098
1186
|
errorSets: [
|
|
1099
1187
|
"module:taxonomy",
|
|
1100
|
-
"
|
|
1188
|
+
"auth",
|
|
1101
1189
|
"request"
|
|
1102
1190
|
]
|
|
1103
1191
|
},
|
|
@@ -1106,14 +1194,14 @@ var e = [
|
|
|
1106
1194
|
module: "taxonomy",
|
|
1107
1195
|
path: "/nodes/{id}",
|
|
1108
1196
|
auth: "staff",
|
|
1109
|
-
permission: "
|
|
1197
|
+
permission: "root:taxonomy:write",
|
|
1110
1198
|
query: [],
|
|
1111
1199
|
request: null,
|
|
1112
1200
|
responses: { 200: "NodeDetail" },
|
|
1113
1201
|
errors: ["not_found"],
|
|
1114
1202
|
errorSets: [
|
|
1115
1203
|
"module:taxonomy",
|
|
1116
|
-
"
|
|
1204
|
+
"auth",
|
|
1117
1205
|
"request"
|
|
1118
1206
|
]
|
|
1119
1207
|
},
|
|
@@ -1122,14 +1210,14 @@ var e = [
|
|
|
1122
1210
|
module: "taxonomy",
|
|
1123
1211
|
path: "/nodes/{id}",
|
|
1124
1212
|
auth: "staff",
|
|
1125
|
-
permission: "
|
|
1213
|
+
permission: "root:taxonomy:write",
|
|
1126
1214
|
query: [],
|
|
1127
1215
|
request: "NodeUpdate",
|
|
1128
1216
|
responses: { 200: "Node" },
|
|
1129
1217
|
errors: ["conflict", "not_found"],
|
|
1130
1218
|
errorSets: [
|
|
1131
1219
|
"module:taxonomy",
|
|
1132
|
-
"
|
|
1220
|
+
"auth",
|
|
1133
1221
|
"request"
|
|
1134
1222
|
]
|
|
1135
1223
|
},
|
|
@@ -1138,14 +1226,14 @@ var e = [
|
|
|
1138
1226
|
module: "taxonomy",
|
|
1139
1227
|
path: "/nodes/{id}",
|
|
1140
1228
|
auth: "staff",
|
|
1141
|
-
permission: "
|
|
1229
|
+
permission: "root:taxonomy:write",
|
|
1142
1230
|
query: [],
|
|
1143
1231
|
request: null,
|
|
1144
1232
|
responses: { 200: "Node" },
|
|
1145
1233
|
errors: ["not_found"],
|
|
1146
1234
|
errorSets: [
|
|
1147
1235
|
"module:taxonomy",
|
|
1148
|
-
"
|
|
1236
|
+
"auth",
|
|
1149
1237
|
"request"
|
|
1150
1238
|
]
|
|
1151
1239
|
},
|
|
@@ -1154,14 +1242,14 @@ var e = [
|
|
|
1154
1242
|
module: "taxonomy",
|
|
1155
1243
|
path: "/nodes/{id}/names",
|
|
1156
1244
|
auth: "staff",
|
|
1157
|
-
permission: "
|
|
1245
|
+
permission: "root:taxonomy:write",
|
|
1158
1246
|
query: [],
|
|
1159
1247
|
request: "Name[]",
|
|
1160
1248
|
responses: { 200: "NodeDetail" },
|
|
1161
1249
|
errors: ["conflict", "not_found"],
|
|
1162
1250
|
errorSets: [
|
|
1163
1251
|
"module:taxonomy",
|
|
1164
|
-
"
|
|
1252
|
+
"auth",
|
|
1165
1253
|
"request"
|
|
1166
1254
|
]
|
|
1167
1255
|
},
|
|
@@ -1170,14 +1258,14 @@ var e = [
|
|
|
1170
1258
|
module: "taxonomy",
|
|
1171
1259
|
path: "/nodes/{id}/names",
|
|
1172
1260
|
auth: "staff",
|
|
1173
|
-
permission: "
|
|
1261
|
+
permission: "root:taxonomy:write",
|
|
1174
1262
|
query: [],
|
|
1175
1263
|
request: "Name[]",
|
|
1176
1264
|
responses: { 200: "NodeDetail" },
|
|
1177
1265
|
errors: ["conflict", "not_found"],
|
|
1178
1266
|
errorSets: [
|
|
1179
1267
|
"module:taxonomy",
|
|
1180
|
-
"
|
|
1268
|
+
"auth",
|
|
1181
1269
|
"request"
|
|
1182
1270
|
]
|
|
1183
1271
|
},
|
|
@@ -1186,14 +1274,14 @@ var e = [
|
|
|
1186
1274
|
module: "taxonomy",
|
|
1187
1275
|
path: "/nodes/{id}/names",
|
|
1188
1276
|
auth: "staff",
|
|
1189
|
-
permission: "
|
|
1277
|
+
permission: "root:taxonomy:write",
|
|
1190
1278
|
query: [],
|
|
1191
1279
|
request: "Name[]",
|
|
1192
1280
|
responses: { 200: "NodeDetail" },
|
|
1193
1281
|
errors: ["not_found"],
|
|
1194
1282
|
errorSets: [
|
|
1195
1283
|
"module:taxonomy",
|
|
1196
|
-
"
|
|
1284
|
+
"auth",
|
|
1197
1285
|
"request"
|
|
1198
1286
|
]
|
|
1199
1287
|
},
|
|
@@ -1202,14 +1290,14 @@ var e = [
|
|
|
1202
1290
|
module: "taxonomy",
|
|
1203
1291
|
path: "/nodes/{id}/merge",
|
|
1204
1292
|
auth: "staff",
|
|
1205
|
-
permission: "
|
|
1293
|
+
permission: "root:taxonomy:write",
|
|
1206
1294
|
query: [],
|
|
1207
1295
|
request: "MergeInput",
|
|
1208
1296
|
responses: { 200: "MergeReport" },
|
|
1209
1297
|
errors: ["conflict", "not_found"],
|
|
1210
1298
|
errorSets: [
|
|
1211
1299
|
"module:taxonomy",
|
|
1212
|
-
"
|
|
1300
|
+
"auth",
|
|
1213
1301
|
"request"
|
|
1214
1302
|
]
|
|
1215
1303
|
},
|
|
@@ -1218,14 +1306,14 @@ var e = [
|
|
|
1218
1306
|
module: "taxonomy",
|
|
1219
1307
|
path: "/edges",
|
|
1220
1308
|
auth: "staff",
|
|
1221
|
-
permission: "
|
|
1309
|
+
permission: "root:taxonomy:write",
|
|
1222
1310
|
query: [],
|
|
1223
1311
|
request: "Edge[]",
|
|
1224
1312
|
responses: { 200: "EdgesWritten" },
|
|
1225
1313
|
errors: ["conflict", "not_found"],
|
|
1226
1314
|
errorSets: [
|
|
1227
1315
|
"module:taxonomy",
|
|
1228
|
-
"
|
|
1316
|
+
"auth",
|
|
1229
1317
|
"request"
|
|
1230
1318
|
]
|
|
1231
1319
|
},
|
|
@@ -1234,14 +1322,14 @@ var e = [
|
|
|
1234
1322
|
module: "taxonomy",
|
|
1235
1323
|
path: "/edges",
|
|
1236
1324
|
auth: "staff",
|
|
1237
|
-
permission: "
|
|
1325
|
+
permission: "root:taxonomy:write",
|
|
1238
1326
|
query: [],
|
|
1239
1327
|
request: "Edge[]",
|
|
1240
1328
|
responses: { 200: "EdgesWritten" },
|
|
1241
1329
|
errors: [],
|
|
1242
1330
|
errorSets: [
|
|
1243
1331
|
"module:taxonomy",
|
|
1244
|
-
"
|
|
1332
|
+
"auth",
|
|
1245
1333
|
"request"
|
|
1246
1334
|
]
|
|
1247
1335
|
},
|
|
@@ -1250,14 +1338,14 @@ var e = [
|
|
|
1250
1338
|
module: "taxonomy",
|
|
1251
1339
|
path: "/assignments",
|
|
1252
1340
|
auth: "staff",
|
|
1253
|
-
permission: "
|
|
1341
|
+
permission: "root:taxonomy:write",
|
|
1254
1342
|
query: ["suppress_counts"],
|
|
1255
1343
|
request: "Assignment[]",
|
|
1256
1344
|
responses: { 200: "AssignmentsWritten" },
|
|
1257
1345
|
errors: ["conflict", "not_found"],
|
|
1258
1346
|
errorSets: [
|
|
1259
1347
|
"module:taxonomy",
|
|
1260
|
-
"
|
|
1348
|
+
"auth",
|
|
1261
1349
|
"request"
|
|
1262
1350
|
]
|
|
1263
1351
|
},
|
|
@@ -1266,14 +1354,14 @@ var e = [
|
|
|
1266
1354
|
module: "taxonomy",
|
|
1267
1355
|
path: "/assignments",
|
|
1268
1356
|
auth: "staff",
|
|
1269
|
-
permission: "
|
|
1357
|
+
permission: "root:taxonomy:write",
|
|
1270
1358
|
query: ["suppress_counts"],
|
|
1271
1359
|
request: "Assignment[]",
|
|
1272
1360
|
responses: { 200: "AssignmentsWritten" },
|
|
1273
1361
|
errors: [],
|
|
1274
1362
|
errorSets: [
|
|
1275
1363
|
"module:taxonomy",
|
|
1276
|
-
"
|
|
1364
|
+
"auth",
|
|
1277
1365
|
"request"
|
|
1278
1366
|
]
|
|
1279
1367
|
},
|
|
@@ -1282,14 +1370,14 @@ var e = [
|
|
|
1282
1370
|
module: "taxonomy",
|
|
1283
1371
|
path: "/effective",
|
|
1284
1372
|
auth: "staff",
|
|
1285
|
-
permission: "
|
|
1373
|
+
permission: "root:taxonomy:write",
|
|
1286
1374
|
query: [],
|
|
1287
1375
|
request: "ContentRef[]",
|
|
1288
1376
|
responses: { 200: "EffectiveTagsOf[]" },
|
|
1289
1377
|
errors: [],
|
|
1290
1378
|
errorSets: [
|
|
1291
1379
|
"module:taxonomy",
|
|
1292
|
-
"
|
|
1380
|
+
"auth",
|
|
1293
1381
|
"request"
|
|
1294
1382
|
]
|
|
1295
1383
|
},
|
|
@@ -1298,14 +1386,14 @@ var e = [
|
|
|
1298
1386
|
module: "taxonomy",
|
|
1299
1387
|
path: "/counts",
|
|
1300
1388
|
auth: "staff",
|
|
1301
|
-
permission: "
|
|
1389
|
+
permission: "root:taxonomy:write",
|
|
1302
1390
|
query: ["taxonomy_id"],
|
|
1303
1391
|
request: null,
|
|
1304
1392
|
responses: { 200: "Record<string, Count[]>" },
|
|
1305
1393
|
errors: [],
|
|
1306
1394
|
errorSets: [
|
|
1307
1395
|
"module:taxonomy",
|
|
1308
|
-
"
|
|
1396
|
+
"auth",
|
|
1309
1397
|
"request"
|
|
1310
1398
|
]
|
|
1311
1399
|
},
|
|
@@ -1314,12 +1402,12 @@ var e = [
|
|
|
1314
1402
|
module: "taxonomy",
|
|
1315
1403
|
path: "/counts/rebuild",
|
|
1316
1404
|
auth: "staff",
|
|
1317
|
-
permission: "
|
|
1405
|
+
permission: "root:taxonomy:write",
|
|
1318
1406
|
query: [],
|
|
1319
1407
|
request: null,
|
|
1320
1408
|
responses: { 200: "CountsRebuilt" },
|
|
1321
1409
|
errors: [],
|
|
1322
|
-
errorSets: ["module:taxonomy", "
|
|
1410
|
+
errorSets: ["module:taxonomy", "auth"]
|
|
1323
1411
|
}
|
|
1324
1412
|
];
|
|
1325
1413
|
//#endregion
|