api.fluff4.me 1.0.704 → 1.0.706
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/index.d.ts +73 -73
- package/openapi.json +517 -475
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -210,15 +210,6 @@ export interface AuthorFull {
|
|
|
210
210
|
description: TextBody
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
export interface AuthorCensorBody {
|
|
214
|
-
name?: boolean | null
|
|
215
|
-
vanity?: boolean | null
|
|
216
|
-
pronouns?: boolean | null
|
|
217
|
-
description?: boolean | null
|
|
218
|
-
support_link?: boolean | null
|
|
219
|
-
support_message?: boolean | null
|
|
220
|
-
}
|
|
221
|
-
|
|
222
213
|
export interface AuthorInsertBody {
|
|
223
214
|
name?: string | null
|
|
224
215
|
vanity?: string | null
|
|
@@ -429,13 +420,6 @@ export interface ChapterLite {
|
|
|
429
420
|
is_numbered: boolean
|
|
430
421
|
}
|
|
431
422
|
|
|
432
|
-
export interface ChapterCensorBody {
|
|
433
|
-
name?: boolean | null
|
|
434
|
-
body?: boolean | null
|
|
435
|
-
notes_before?: boolean | null
|
|
436
|
-
notes_after?: boolean | null
|
|
437
|
-
}
|
|
438
|
-
|
|
439
423
|
export type Chapters = ChapterLite[]
|
|
440
424
|
|
|
441
425
|
export interface CampaignTierSetBody {
|
|
@@ -444,17 +428,6 @@ export interface CampaignTierSetBody {
|
|
|
444
428
|
chapters: string[]
|
|
445
429
|
}
|
|
446
430
|
|
|
447
|
-
export interface WorkCensorBody {
|
|
448
|
-
name?: boolean | null
|
|
449
|
-
vanity?: boolean | null
|
|
450
|
-
description?: boolean | null
|
|
451
|
-
synopsis?: boolean | null
|
|
452
|
-
}
|
|
453
|
-
|
|
454
|
-
export interface WorkLockBody {
|
|
455
|
-
reason: string
|
|
456
|
-
}
|
|
457
|
-
|
|
458
431
|
export type Works = Work[]
|
|
459
432
|
|
|
460
433
|
export interface FeedResponse {
|
|
@@ -857,6 +830,37 @@ export interface Fundraiser {
|
|
|
857
830
|
funds_raised: number
|
|
858
831
|
}
|
|
859
832
|
|
|
833
|
+
export interface WorkCensorBody {
|
|
834
|
+
name?: true | null
|
|
835
|
+
vanity?: true | null
|
|
836
|
+
description?: true | null
|
|
837
|
+
synopsis?: true | null
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
export interface ChapterCensorBody {
|
|
841
|
+
name?: true | null
|
|
842
|
+
body?: true | null
|
|
843
|
+
notes_before?: true | null
|
|
844
|
+
notes_after?: true | null
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export interface WorkLockBody {
|
|
848
|
+
reason: string
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
export interface AuthorCensorBody {
|
|
852
|
+
name?: true | null
|
|
853
|
+
vanity?: true | null
|
|
854
|
+
pronouns?: true | null
|
|
855
|
+
description?: true | null
|
|
856
|
+
support_link?: true | null
|
|
857
|
+
support_message?: true | null
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export interface ModerationSupporterGrantBody {
|
|
861
|
+
months: number
|
|
862
|
+
}
|
|
863
|
+
|
|
860
864
|
export interface ReportAuthorBody {
|
|
861
865
|
reason: "harassment" | "impersonation" | "spam" | "phishing" | "inappropriate-field" | "tos-violation"
|
|
862
866
|
reason_body: string
|
|
@@ -877,10 +881,6 @@ export interface ReportCommentBody {
|
|
|
877
881
|
reason_body: string
|
|
878
882
|
}
|
|
879
883
|
|
|
880
|
-
export interface ModerationSupporterGrantBody {
|
|
881
|
-
months: number
|
|
882
|
-
}
|
|
883
|
-
|
|
884
884
|
export interface ErrorResponse {
|
|
885
885
|
code: number
|
|
886
886
|
detail?: string | null
|
|
@@ -1008,18 +1008,6 @@ export interface Paths {
|
|
|
1008
1008
|
search?: undefined
|
|
1009
1009
|
response: Response<AuthorFull> | ErrorResponse
|
|
1010
1010
|
},
|
|
1011
|
-
"/author/{vanity}/censor": {
|
|
1012
|
-
method: "post"
|
|
1013
|
-
body: AuthorCensorBody
|
|
1014
|
-
search?: undefined
|
|
1015
|
-
response: void | ErrorResponse
|
|
1016
|
-
},
|
|
1017
|
-
"/author/{vanity}/delete": {
|
|
1018
|
-
method: "post"
|
|
1019
|
-
body?: undefined
|
|
1020
|
-
search?: undefined
|
|
1021
|
-
response: void | ErrorResponse
|
|
1022
|
-
},
|
|
1023
1011
|
"/author/update": {
|
|
1024
1012
|
method: "post"
|
|
1025
1013
|
body: AuthorInsertBody
|
|
@@ -1145,12 +1133,6 @@ export interface Paths {
|
|
|
1145
1133
|
search?: undefined
|
|
1146
1134
|
response: void | ErrorResponse
|
|
1147
1135
|
},
|
|
1148
|
-
"/work/{author}/{work}/chapter/{url}/censor": {
|
|
1149
|
-
method: "post"
|
|
1150
|
-
body: ChapterCensorBody
|
|
1151
|
-
search?: undefined
|
|
1152
|
-
response: void | ErrorResponse
|
|
1153
|
-
},
|
|
1154
1136
|
"/work/{author}/{vanity}/chapters/list": {
|
|
1155
1137
|
method: "get"
|
|
1156
1138
|
body?: undefined
|
|
@@ -1175,24 +1157,6 @@ export interface Paths {
|
|
|
1175
1157
|
search?: undefined
|
|
1176
1158
|
response: void | ErrorResponse
|
|
1177
1159
|
},
|
|
1178
|
-
"/work/{author}/{vanity}/censor": {
|
|
1179
|
-
method: "post"
|
|
1180
|
-
body: WorkCensorBody
|
|
1181
|
-
search?: undefined
|
|
1182
|
-
response: void | ErrorResponse
|
|
1183
|
-
},
|
|
1184
|
-
"/work/{author}/{vanity}/lock": {
|
|
1185
|
-
method: "post"
|
|
1186
|
-
body: WorkLockBody
|
|
1187
|
-
search?: undefined
|
|
1188
|
-
response: void | ErrorResponse
|
|
1189
|
-
},
|
|
1190
|
-
"/work/{author}/{vanity}/unlock": {
|
|
1191
|
-
method: "post"
|
|
1192
|
-
body?: undefined
|
|
1193
|
-
search?: undefined
|
|
1194
|
-
response: void | ErrorResponse
|
|
1195
|
-
},
|
|
1196
1160
|
"/works/{author}": {
|
|
1197
1161
|
method: "get"
|
|
1198
1162
|
body?: undefined
|
|
@@ -1902,6 +1866,48 @@ export interface Paths {
|
|
|
1902
1866
|
search?: undefined
|
|
1903
1867
|
response: Response<Fundraiser[]> | ErrorResponse
|
|
1904
1868
|
},
|
|
1869
|
+
"/moderation/work/{author}/{vanity}/censor": {
|
|
1870
|
+
method: "post"
|
|
1871
|
+
body: WorkCensorBody
|
|
1872
|
+
search?: undefined
|
|
1873
|
+
response: void | ErrorResponse
|
|
1874
|
+
},
|
|
1875
|
+
"/moderation/work/{author}/{work}/chapter/{url}/censor": {
|
|
1876
|
+
method: "post"
|
|
1877
|
+
body: ChapterCensorBody
|
|
1878
|
+
search?: undefined
|
|
1879
|
+
response: void | ErrorResponse
|
|
1880
|
+
},
|
|
1881
|
+
"/moderation/work/{author}/{vanity}/lock": {
|
|
1882
|
+
method: "post"
|
|
1883
|
+
body: WorkLockBody
|
|
1884
|
+
search?: undefined
|
|
1885
|
+
response: void | ErrorResponse
|
|
1886
|
+
},
|
|
1887
|
+
"/moderation/work/{author}/{vanity}/unlock": {
|
|
1888
|
+
method: "post"
|
|
1889
|
+
body?: undefined
|
|
1890
|
+
search?: undefined
|
|
1891
|
+
response: void | ErrorResponse
|
|
1892
|
+
},
|
|
1893
|
+
"/moderation/author/{vanity}/censor": {
|
|
1894
|
+
method: "post"
|
|
1895
|
+
body: AuthorCensorBody
|
|
1896
|
+
search?: undefined
|
|
1897
|
+
response: void | ErrorResponse
|
|
1898
|
+
},
|
|
1899
|
+
"/moderation/author/{vanity}/delete": {
|
|
1900
|
+
method: "post"
|
|
1901
|
+
body?: undefined
|
|
1902
|
+
search?: undefined
|
|
1903
|
+
response: void | ErrorResponse
|
|
1904
|
+
},
|
|
1905
|
+
"/moderation/author/{vanity}/grant-supporter": {
|
|
1906
|
+
method: "post"
|
|
1907
|
+
body: ModerationSupporterGrantBody
|
|
1908
|
+
search?: undefined
|
|
1909
|
+
response: void | ErrorResponse
|
|
1910
|
+
},
|
|
1905
1911
|
"/report/author/{vanity}": {
|
|
1906
1912
|
method: "post"
|
|
1907
1913
|
body: ReportAuthorBody
|
|
@@ -1926,10 +1932,4 @@ export interface Paths {
|
|
|
1926
1932
|
search?: undefined
|
|
1927
1933
|
response: void | ErrorResponse
|
|
1928
1934
|
},
|
|
1929
|
-
"/moderation/supporter/grant/{vanity}": {
|
|
1930
|
-
method: "post"
|
|
1931
|
-
body: ModerationSupporterGrantBody
|
|
1932
|
-
search?: undefined
|
|
1933
|
-
response: void | ErrorResponse
|
|
1934
|
-
},
|
|
1935
1935
|
}
|
package/openapi.json
CHANGED
|
@@ -1088,71 +1088,6 @@
|
|
|
1088
1088
|
"description"
|
|
1089
1089
|
]
|
|
1090
1090
|
},
|
|
1091
|
-
"AuthorCensorBody": {
|
|
1092
|
-
"type": "object",
|
|
1093
|
-
"properties": {
|
|
1094
|
-
"name": {
|
|
1095
|
-
"anyOf": [
|
|
1096
|
-
{
|
|
1097
|
-
"type": "boolean"
|
|
1098
|
-
},
|
|
1099
|
-
{
|
|
1100
|
-
"type": "null"
|
|
1101
|
-
}
|
|
1102
|
-
]
|
|
1103
|
-
},
|
|
1104
|
-
"vanity": {
|
|
1105
|
-
"anyOf": [
|
|
1106
|
-
{
|
|
1107
|
-
"type": "boolean"
|
|
1108
|
-
},
|
|
1109
|
-
{
|
|
1110
|
-
"type": "null"
|
|
1111
|
-
}
|
|
1112
|
-
]
|
|
1113
|
-
},
|
|
1114
|
-
"pronouns": {
|
|
1115
|
-
"anyOf": [
|
|
1116
|
-
{
|
|
1117
|
-
"type": "boolean"
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
"type": "null"
|
|
1121
|
-
}
|
|
1122
|
-
]
|
|
1123
|
-
},
|
|
1124
|
-
"description": {
|
|
1125
|
-
"anyOf": [
|
|
1126
|
-
{
|
|
1127
|
-
"type": "boolean"
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
"type": "null"
|
|
1131
|
-
}
|
|
1132
|
-
]
|
|
1133
|
-
},
|
|
1134
|
-
"support_link": {
|
|
1135
|
-
"anyOf": [
|
|
1136
|
-
{
|
|
1137
|
-
"type": "boolean"
|
|
1138
|
-
},
|
|
1139
|
-
{
|
|
1140
|
-
"type": "null"
|
|
1141
|
-
}
|
|
1142
|
-
]
|
|
1143
|
-
},
|
|
1144
|
-
"support_message": {
|
|
1145
|
-
"anyOf": [
|
|
1146
|
-
{
|
|
1147
|
-
"type": "boolean"
|
|
1148
|
-
},
|
|
1149
|
-
{
|
|
1150
|
-
"type": "null"
|
|
1151
|
-
}
|
|
1152
|
-
]
|
|
1153
|
-
}
|
|
1154
|
-
}
|
|
1155
|
-
},
|
|
1156
1091
|
"AuthorInsertBody": {
|
|
1157
1092
|
"type": "object",
|
|
1158
1093
|
"properties": {
|
|
@@ -2647,51 +2582,6 @@
|
|
|
2647
2582
|
"is_numbered"
|
|
2648
2583
|
]
|
|
2649
2584
|
},
|
|
2650
|
-
"ChapterCensorBody": {
|
|
2651
|
-
"type": "object",
|
|
2652
|
-
"properties": {
|
|
2653
|
-
"name": {
|
|
2654
|
-
"anyOf": [
|
|
2655
|
-
{
|
|
2656
|
-
"type": "boolean"
|
|
2657
|
-
},
|
|
2658
|
-
{
|
|
2659
|
-
"type": "null"
|
|
2660
|
-
}
|
|
2661
|
-
]
|
|
2662
|
-
},
|
|
2663
|
-
"body": {
|
|
2664
|
-
"anyOf": [
|
|
2665
|
-
{
|
|
2666
|
-
"type": "boolean"
|
|
2667
|
-
},
|
|
2668
|
-
{
|
|
2669
|
-
"type": "null"
|
|
2670
|
-
}
|
|
2671
|
-
]
|
|
2672
|
-
},
|
|
2673
|
-
"notes_before": {
|
|
2674
|
-
"anyOf": [
|
|
2675
|
-
{
|
|
2676
|
-
"type": "boolean"
|
|
2677
|
-
},
|
|
2678
|
-
{
|
|
2679
|
-
"type": "null"
|
|
2680
|
-
}
|
|
2681
|
-
]
|
|
2682
|
-
},
|
|
2683
|
-
"notes_after": {
|
|
2684
|
-
"anyOf": [
|
|
2685
|
-
{
|
|
2686
|
-
"type": "boolean"
|
|
2687
|
-
},
|
|
2688
|
-
{
|
|
2689
|
-
"type": "null"
|
|
2690
|
-
}
|
|
2691
|
-
]
|
|
2692
|
-
}
|
|
2693
|
-
}
|
|
2694
|
-
},
|
|
2695
2585
|
"Chapters": {
|
|
2696
2586
|
"type": "array",
|
|
2697
2587
|
"items": {
|
|
@@ -2731,63 +2621,6 @@
|
|
|
2731
2621
|
"chapters"
|
|
2732
2622
|
]
|
|
2733
2623
|
},
|
|
2734
|
-
"WorkCensorBody": {
|
|
2735
|
-
"type": "object",
|
|
2736
|
-
"properties": {
|
|
2737
|
-
"name": {
|
|
2738
|
-
"anyOf": [
|
|
2739
|
-
{
|
|
2740
|
-
"type": "boolean"
|
|
2741
|
-
},
|
|
2742
|
-
{
|
|
2743
|
-
"type": "null"
|
|
2744
|
-
}
|
|
2745
|
-
]
|
|
2746
|
-
},
|
|
2747
|
-
"vanity": {
|
|
2748
|
-
"anyOf": [
|
|
2749
|
-
{
|
|
2750
|
-
"type": "boolean"
|
|
2751
|
-
},
|
|
2752
|
-
{
|
|
2753
|
-
"type": "null"
|
|
2754
|
-
}
|
|
2755
|
-
]
|
|
2756
|
-
},
|
|
2757
|
-
"description": {
|
|
2758
|
-
"anyOf": [
|
|
2759
|
-
{
|
|
2760
|
-
"type": "boolean"
|
|
2761
|
-
},
|
|
2762
|
-
{
|
|
2763
|
-
"type": "null"
|
|
2764
|
-
}
|
|
2765
|
-
]
|
|
2766
|
-
},
|
|
2767
|
-
"synopsis": {
|
|
2768
|
-
"anyOf": [
|
|
2769
|
-
{
|
|
2770
|
-
"type": "boolean"
|
|
2771
|
-
},
|
|
2772
|
-
{
|
|
2773
|
-
"type": "null"
|
|
2774
|
-
}
|
|
2775
|
-
]
|
|
2776
|
-
}
|
|
2777
|
-
}
|
|
2778
|
-
},
|
|
2779
|
-
"WorkLockBody": {
|
|
2780
|
-
"type": "object",
|
|
2781
|
-
"properties": {
|
|
2782
|
-
"reason": {
|
|
2783
|
-
"type": "string",
|
|
2784
|
-
"maxLength": 512
|
|
2785
|
-
}
|
|
2786
|
-
},
|
|
2787
|
-
"required": [
|
|
2788
|
-
"reason"
|
|
2789
|
-
]
|
|
2790
|
-
},
|
|
2791
2624
|
"Works": {
|
|
2792
2625
|
"type": "array",
|
|
2793
2626
|
"items": {
|
|
@@ -4759,69 +4592,241 @@
|
|
|
4759
4592
|
"funds_raised"
|
|
4760
4593
|
]
|
|
4761
4594
|
},
|
|
4762
|
-
"
|
|
4595
|
+
"WorkCensorBody": {
|
|
4763
4596
|
"type": "object",
|
|
4764
4597
|
"properties": {
|
|
4765
|
-
"
|
|
4766
|
-
"
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4598
|
+
"name": {
|
|
4599
|
+
"anyOf": [
|
|
4600
|
+
{
|
|
4601
|
+
"type": "boolean",
|
|
4602
|
+
"enum": [
|
|
4603
|
+
true
|
|
4604
|
+
]
|
|
4605
|
+
},
|
|
4606
|
+
{
|
|
4607
|
+
"type": "null"
|
|
4608
|
+
}
|
|
4774
4609
|
]
|
|
4775
4610
|
},
|
|
4776
|
-
"
|
|
4777
|
-
"
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
"type": "object",
|
|
4788
|
-
"properties": {
|
|
4789
|
-
"reason": {
|
|
4790
|
-
"type": "string",
|
|
4791
|
-
"enum": [
|
|
4792
|
-
"plagiarism",
|
|
4793
|
-
"inadequate-tags",
|
|
4794
|
-
"harassment",
|
|
4795
|
-
"spam",
|
|
4796
|
-
"inappropriate-field",
|
|
4797
|
-
"tos-violation"
|
|
4611
|
+
"vanity": {
|
|
4612
|
+
"anyOf": [
|
|
4613
|
+
{
|
|
4614
|
+
"type": "boolean",
|
|
4615
|
+
"enum": [
|
|
4616
|
+
true
|
|
4617
|
+
]
|
|
4618
|
+
},
|
|
4619
|
+
{
|
|
4620
|
+
"type": "null"
|
|
4621
|
+
}
|
|
4798
4622
|
]
|
|
4799
4623
|
},
|
|
4800
|
-
"
|
|
4801
|
-
"
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
"type": "object",
|
|
4812
|
-
"properties": {
|
|
4813
|
-
"reason": {
|
|
4814
|
-
"type": "string",
|
|
4815
|
-
"enum": [
|
|
4816
|
-
"plagiarism",
|
|
4817
|
-
"inadequate-tags",
|
|
4818
|
-
"harassment",
|
|
4819
|
-
"spam",
|
|
4820
|
-
"inappropriate-field",
|
|
4821
|
-
"tos-violation"
|
|
4624
|
+
"description": {
|
|
4625
|
+
"anyOf": [
|
|
4626
|
+
{
|
|
4627
|
+
"type": "boolean",
|
|
4628
|
+
"enum": [
|
|
4629
|
+
true
|
|
4630
|
+
]
|
|
4631
|
+
},
|
|
4632
|
+
{
|
|
4633
|
+
"type": "null"
|
|
4634
|
+
}
|
|
4822
4635
|
]
|
|
4823
4636
|
},
|
|
4824
|
-
"
|
|
4637
|
+
"synopsis": {
|
|
4638
|
+
"anyOf": [
|
|
4639
|
+
{
|
|
4640
|
+
"type": "boolean",
|
|
4641
|
+
"enum": [
|
|
4642
|
+
true
|
|
4643
|
+
]
|
|
4644
|
+
},
|
|
4645
|
+
{
|
|
4646
|
+
"type": "null"
|
|
4647
|
+
}
|
|
4648
|
+
]
|
|
4649
|
+
}
|
|
4650
|
+
}
|
|
4651
|
+
},
|
|
4652
|
+
"ChapterCensorBody": {
|
|
4653
|
+
"type": "object",
|
|
4654
|
+
"properties": {
|
|
4655
|
+
"name": {
|
|
4656
|
+
"anyOf": [
|
|
4657
|
+
{
|
|
4658
|
+
"type": "boolean",
|
|
4659
|
+
"enum": [
|
|
4660
|
+
true
|
|
4661
|
+
]
|
|
4662
|
+
},
|
|
4663
|
+
{
|
|
4664
|
+
"type": "null"
|
|
4665
|
+
}
|
|
4666
|
+
]
|
|
4667
|
+
},
|
|
4668
|
+
"body": {
|
|
4669
|
+
"anyOf": [
|
|
4670
|
+
{
|
|
4671
|
+
"type": "boolean",
|
|
4672
|
+
"enum": [
|
|
4673
|
+
true
|
|
4674
|
+
]
|
|
4675
|
+
},
|
|
4676
|
+
{
|
|
4677
|
+
"type": "null"
|
|
4678
|
+
}
|
|
4679
|
+
]
|
|
4680
|
+
},
|
|
4681
|
+
"notes_before": {
|
|
4682
|
+
"anyOf": [
|
|
4683
|
+
{
|
|
4684
|
+
"type": "boolean",
|
|
4685
|
+
"enum": [
|
|
4686
|
+
true
|
|
4687
|
+
]
|
|
4688
|
+
},
|
|
4689
|
+
{
|
|
4690
|
+
"type": "null"
|
|
4691
|
+
}
|
|
4692
|
+
]
|
|
4693
|
+
},
|
|
4694
|
+
"notes_after": {
|
|
4695
|
+
"anyOf": [
|
|
4696
|
+
{
|
|
4697
|
+
"type": "boolean",
|
|
4698
|
+
"enum": [
|
|
4699
|
+
true
|
|
4700
|
+
]
|
|
4701
|
+
},
|
|
4702
|
+
{
|
|
4703
|
+
"type": "null"
|
|
4704
|
+
}
|
|
4705
|
+
]
|
|
4706
|
+
}
|
|
4707
|
+
}
|
|
4708
|
+
},
|
|
4709
|
+
"WorkLockBody": {
|
|
4710
|
+
"type": "object",
|
|
4711
|
+
"properties": {
|
|
4712
|
+
"reason": {
|
|
4713
|
+
"type": "string",
|
|
4714
|
+
"maxLength": 512
|
|
4715
|
+
}
|
|
4716
|
+
},
|
|
4717
|
+
"required": [
|
|
4718
|
+
"reason"
|
|
4719
|
+
]
|
|
4720
|
+
},
|
|
4721
|
+
"AuthorCensorBody": {
|
|
4722
|
+
"type": "object",
|
|
4723
|
+
"properties": {
|
|
4724
|
+
"name": {
|
|
4725
|
+
"anyOf": [
|
|
4726
|
+
{
|
|
4727
|
+
"type": "boolean",
|
|
4728
|
+
"enum": [
|
|
4729
|
+
true
|
|
4730
|
+
]
|
|
4731
|
+
},
|
|
4732
|
+
{
|
|
4733
|
+
"type": "null"
|
|
4734
|
+
}
|
|
4735
|
+
]
|
|
4736
|
+
},
|
|
4737
|
+
"vanity": {
|
|
4738
|
+
"anyOf": [
|
|
4739
|
+
{
|
|
4740
|
+
"type": "boolean",
|
|
4741
|
+
"enum": [
|
|
4742
|
+
true
|
|
4743
|
+
]
|
|
4744
|
+
},
|
|
4745
|
+
{
|
|
4746
|
+
"type": "null"
|
|
4747
|
+
}
|
|
4748
|
+
]
|
|
4749
|
+
},
|
|
4750
|
+
"pronouns": {
|
|
4751
|
+
"anyOf": [
|
|
4752
|
+
{
|
|
4753
|
+
"type": "boolean",
|
|
4754
|
+
"enum": [
|
|
4755
|
+
true
|
|
4756
|
+
]
|
|
4757
|
+
},
|
|
4758
|
+
{
|
|
4759
|
+
"type": "null"
|
|
4760
|
+
}
|
|
4761
|
+
]
|
|
4762
|
+
},
|
|
4763
|
+
"description": {
|
|
4764
|
+
"anyOf": [
|
|
4765
|
+
{
|
|
4766
|
+
"type": "boolean",
|
|
4767
|
+
"enum": [
|
|
4768
|
+
true
|
|
4769
|
+
]
|
|
4770
|
+
},
|
|
4771
|
+
{
|
|
4772
|
+
"type": "null"
|
|
4773
|
+
}
|
|
4774
|
+
]
|
|
4775
|
+
},
|
|
4776
|
+
"support_link": {
|
|
4777
|
+
"anyOf": [
|
|
4778
|
+
{
|
|
4779
|
+
"type": "boolean",
|
|
4780
|
+
"enum": [
|
|
4781
|
+
true
|
|
4782
|
+
]
|
|
4783
|
+
},
|
|
4784
|
+
{
|
|
4785
|
+
"type": "null"
|
|
4786
|
+
}
|
|
4787
|
+
]
|
|
4788
|
+
},
|
|
4789
|
+
"support_message": {
|
|
4790
|
+
"anyOf": [
|
|
4791
|
+
{
|
|
4792
|
+
"type": "boolean",
|
|
4793
|
+
"enum": [
|
|
4794
|
+
true
|
|
4795
|
+
]
|
|
4796
|
+
},
|
|
4797
|
+
{
|
|
4798
|
+
"type": "null"
|
|
4799
|
+
}
|
|
4800
|
+
]
|
|
4801
|
+
}
|
|
4802
|
+
}
|
|
4803
|
+
},
|
|
4804
|
+
"ModerationSupporterGrantBody": {
|
|
4805
|
+
"type": "object",
|
|
4806
|
+
"properties": {
|
|
4807
|
+
"months": {
|
|
4808
|
+
"type": "number"
|
|
4809
|
+
}
|
|
4810
|
+
},
|
|
4811
|
+
"required": [
|
|
4812
|
+
"months"
|
|
4813
|
+
]
|
|
4814
|
+
},
|
|
4815
|
+
"ReportAuthorBody": {
|
|
4816
|
+
"type": "object",
|
|
4817
|
+
"properties": {
|
|
4818
|
+
"reason": {
|
|
4819
|
+
"type": "string",
|
|
4820
|
+
"enum": [
|
|
4821
|
+
"harassment",
|
|
4822
|
+
"impersonation",
|
|
4823
|
+
"spam",
|
|
4824
|
+
"phishing",
|
|
4825
|
+
"inappropriate-field",
|
|
4826
|
+
"tos-violation"
|
|
4827
|
+
]
|
|
4828
|
+
},
|
|
4829
|
+
"reason_body": {
|
|
4825
4830
|
"type": "string",
|
|
4826
4831
|
"maxLength": 72
|
|
4827
4832
|
}
|
|
@@ -4831,17 +4836,18 @@
|
|
|
4831
4836
|
"reason_body"
|
|
4832
4837
|
]
|
|
4833
4838
|
},
|
|
4834
|
-
"
|
|
4839
|
+
"ReportWorkBody": {
|
|
4835
4840
|
"type": "object",
|
|
4836
4841
|
"properties": {
|
|
4837
4842
|
"reason": {
|
|
4838
4843
|
"type": "string",
|
|
4839
4844
|
"enum": [
|
|
4845
|
+
"plagiarism",
|
|
4846
|
+
"inadequate-tags",
|
|
4840
4847
|
"harassment",
|
|
4841
4848
|
"spam",
|
|
4842
|
-
"inappropriate",
|
|
4843
|
-
"tos-violation"
|
|
4844
|
-
"phishing"
|
|
4849
|
+
"inappropriate-field",
|
|
4850
|
+
"tos-violation"
|
|
4845
4851
|
]
|
|
4846
4852
|
},
|
|
4847
4853
|
"reason_body": {
|
|
@@ -4854,15 +4860,51 @@
|
|
|
4854
4860
|
"reason_body"
|
|
4855
4861
|
]
|
|
4856
4862
|
},
|
|
4857
|
-
"
|
|
4863
|
+
"ReportChapterBody": {
|
|
4858
4864
|
"type": "object",
|
|
4859
4865
|
"properties": {
|
|
4860
|
-
"
|
|
4861
|
-
"type": "
|
|
4866
|
+
"reason": {
|
|
4867
|
+
"type": "string",
|
|
4868
|
+
"enum": [
|
|
4869
|
+
"plagiarism",
|
|
4870
|
+
"inadequate-tags",
|
|
4871
|
+
"harassment",
|
|
4872
|
+
"spam",
|
|
4873
|
+
"inappropriate-field",
|
|
4874
|
+
"tos-violation"
|
|
4875
|
+
]
|
|
4876
|
+
},
|
|
4877
|
+
"reason_body": {
|
|
4878
|
+
"type": "string",
|
|
4879
|
+
"maxLength": 72
|
|
4862
4880
|
}
|
|
4863
4881
|
},
|
|
4864
4882
|
"required": [
|
|
4865
|
-
"
|
|
4883
|
+
"reason",
|
|
4884
|
+
"reason_body"
|
|
4885
|
+
]
|
|
4886
|
+
},
|
|
4887
|
+
"ReportCommentBody": {
|
|
4888
|
+
"type": "object",
|
|
4889
|
+
"properties": {
|
|
4890
|
+
"reason": {
|
|
4891
|
+
"type": "string",
|
|
4892
|
+
"enum": [
|
|
4893
|
+
"harassment",
|
|
4894
|
+
"spam",
|
|
4895
|
+
"inappropriate",
|
|
4896
|
+
"tos-violation",
|
|
4897
|
+
"phishing"
|
|
4898
|
+
]
|
|
4899
|
+
},
|
|
4900
|
+
"reason_body": {
|
|
4901
|
+
"type": "string",
|
|
4902
|
+
"maxLength": 72
|
|
4903
|
+
}
|
|
4904
|
+
},
|
|
4905
|
+
"required": [
|
|
4906
|
+
"reason",
|
|
4907
|
+
"reason_body"
|
|
4866
4908
|
]
|
|
4867
4909
|
},
|
|
4868
4910
|
"ErrorResponse": {
|
|
@@ -5444,65 +5486,6 @@
|
|
|
5444
5486
|
}
|
|
5445
5487
|
}
|
|
5446
5488
|
},
|
|
5447
|
-
"/author/{vanity}/censor": {
|
|
5448
|
-
"parameters": [
|
|
5449
|
-
{
|
|
5450
|
-
"name": "vanity",
|
|
5451
|
-
"in": "path"
|
|
5452
|
-
}
|
|
5453
|
-
],
|
|
5454
|
-
"post": {
|
|
5455
|
-
"requestBody": {
|
|
5456
|
-
"content": {
|
|
5457
|
-
"application/json": {
|
|
5458
|
-
"schema": {
|
|
5459
|
-
"$ref": "#/components/schemas/AuthorCensorBody"
|
|
5460
|
-
}
|
|
5461
|
-
}
|
|
5462
|
-
}
|
|
5463
|
-
},
|
|
5464
|
-
"responses": {
|
|
5465
|
-
"200": {
|
|
5466
|
-
"description": "200 response"
|
|
5467
|
-
},
|
|
5468
|
-
"default": {
|
|
5469
|
-
"description": "Error",
|
|
5470
|
-
"content": {
|
|
5471
|
-
"application/json": {
|
|
5472
|
-
"schema": {
|
|
5473
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
5474
|
-
}
|
|
5475
|
-
}
|
|
5476
|
-
}
|
|
5477
|
-
}
|
|
5478
|
-
}
|
|
5479
|
-
}
|
|
5480
|
-
},
|
|
5481
|
-
"/author/{vanity}/delete": {
|
|
5482
|
-
"parameters": [
|
|
5483
|
-
{
|
|
5484
|
-
"name": "vanity",
|
|
5485
|
-
"in": "path"
|
|
5486
|
-
}
|
|
5487
|
-
],
|
|
5488
|
-
"post": {
|
|
5489
|
-
"responses": {
|
|
5490
|
-
"200": {
|
|
5491
|
-
"description": "200 response"
|
|
5492
|
-
},
|
|
5493
|
-
"default": {
|
|
5494
|
-
"description": "Error",
|
|
5495
|
-
"content": {
|
|
5496
|
-
"application/json": {
|
|
5497
|
-
"schema": {
|
|
5498
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
5499
|
-
}
|
|
5500
|
-
}
|
|
5501
|
-
}
|
|
5502
|
-
}
|
|
5503
|
-
}
|
|
5504
|
-
}
|
|
5505
|
-
},
|
|
5506
5489
|
"/author/update": {
|
|
5507
5490
|
"post": {
|
|
5508
5491
|
"requestBody": {
|
|
@@ -6400,48 +6383,6 @@
|
|
|
6400
6383
|
}
|
|
6401
6384
|
}
|
|
6402
6385
|
},
|
|
6403
|
-
"/work/{author}/{work}/chapter/{url}/censor": {
|
|
6404
|
-
"parameters": [
|
|
6405
|
-
{
|
|
6406
|
-
"name": "author",
|
|
6407
|
-
"in": "path"
|
|
6408
|
-
},
|
|
6409
|
-
{
|
|
6410
|
-
"name": "work",
|
|
6411
|
-
"in": "path"
|
|
6412
|
-
},
|
|
6413
|
-
{
|
|
6414
|
-
"name": "url",
|
|
6415
|
-
"in": "path"
|
|
6416
|
-
}
|
|
6417
|
-
],
|
|
6418
|
-
"post": {
|
|
6419
|
-
"requestBody": {
|
|
6420
|
-
"content": {
|
|
6421
|
-
"application/json": {
|
|
6422
|
-
"schema": {
|
|
6423
|
-
"$ref": "#/components/schemas/ChapterCensorBody"
|
|
6424
|
-
}
|
|
6425
|
-
}
|
|
6426
|
-
}
|
|
6427
|
-
},
|
|
6428
|
-
"responses": {
|
|
6429
|
-
"200": {
|
|
6430
|
-
"description": "200 response"
|
|
6431
|
-
},
|
|
6432
|
-
"default": {
|
|
6433
|
-
"description": "Error",
|
|
6434
|
-
"content": {
|
|
6435
|
-
"application/json": {
|
|
6436
|
-
"schema": {
|
|
6437
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
6438
|
-
}
|
|
6439
|
-
}
|
|
6440
|
-
}
|
|
6441
|
-
}
|
|
6442
|
-
}
|
|
6443
|
-
}
|
|
6444
|
-
},
|
|
6445
6386
|
"/work/{author}/{vanity}/chapters/list": {
|
|
6446
6387
|
"parameters": [
|
|
6447
6388
|
{
|
|
@@ -6603,137 +6544,23 @@
|
|
|
6603
6544
|
},
|
|
6604
6545
|
{
|
|
6605
6546
|
"type": "number",
|
|
6606
|
-
"minimum": 0
|
|
6607
|
-
}
|
|
6608
|
-
]
|
|
6609
|
-
}
|
|
6610
|
-
},
|
|
6611
|
-
"required": [
|
|
6612
|
-
"data",
|
|
6613
|
-
"has_more",
|
|
6614
|
-
"page",
|
|
6615
|
-
"page_count"
|
|
6616
|
-
]
|
|
6617
|
-
}
|
|
6618
|
-
}
|
|
6619
|
-
}
|
|
6620
|
-
},
|
|
6621
|
-
"304": {
|
|
6622
|
-
"description": "304 response"
|
|
6623
|
-
},
|
|
6624
|
-
"default": {
|
|
6625
|
-
"description": "Error",
|
|
6626
|
-
"content": {
|
|
6627
|
-
"application/json": {
|
|
6628
|
-
"schema": {
|
|
6629
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
6630
|
-
}
|
|
6631
|
-
}
|
|
6632
|
-
}
|
|
6633
|
-
}
|
|
6634
|
-
}
|
|
6635
|
-
}
|
|
6636
|
-
},
|
|
6637
|
-
"/work/{author}/{work}/chapters/setvisibility": {
|
|
6638
|
-
"parameters": [
|
|
6639
|
-
{
|
|
6640
|
-
"name": "author",
|
|
6641
|
-
"in": "path"
|
|
6642
|
-
},
|
|
6643
|
-
{
|
|
6644
|
-
"name": "work",
|
|
6645
|
-
"in": "path"
|
|
6646
|
-
}
|
|
6647
|
-
],
|
|
6648
|
-
"post": {
|
|
6649
|
-
"requestBody": {
|
|
6650
|
-
"content": {
|
|
6651
|
-
"application/json": {
|
|
6652
|
-
"schema": {
|
|
6653
|
-
"$ref": "#/components/schemas/CampaignTierSetBody"
|
|
6654
|
-
}
|
|
6655
|
-
}
|
|
6656
|
-
}
|
|
6657
|
-
},
|
|
6658
|
-
"responses": {
|
|
6659
|
-
"200": {
|
|
6660
|
-
"description": "200 response"
|
|
6661
|
-
},
|
|
6662
|
-
"default": {
|
|
6663
|
-
"description": "Error",
|
|
6664
|
-
"content": {
|
|
6665
|
-
"application/json": {
|
|
6666
|
-
"schema": {
|
|
6667
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
6668
|
-
}
|
|
6669
|
-
}
|
|
6670
|
-
}
|
|
6671
|
-
}
|
|
6672
|
-
}
|
|
6673
|
-
}
|
|
6674
|
-
},
|
|
6675
|
-
"/work/{author}/{vanity}/censor": {
|
|
6676
|
-
"parameters": [
|
|
6677
|
-
{
|
|
6678
|
-
"name": "author",
|
|
6679
|
-
"in": "path"
|
|
6680
|
-
},
|
|
6681
|
-
{
|
|
6682
|
-
"name": "vanity",
|
|
6683
|
-
"in": "path"
|
|
6684
|
-
}
|
|
6685
|
-
],
|
|
6686
|
-
"post": {
|
|
6687
|
-
"requestBody": {
|
|
6688
|
-
"content": {
|
|
6689
|
-
"application/json": {
|
|
6690
|
-
"schema": {
|
|
6691
|
-
"$ref": "#/components/schemas/WorkCensorBody"
|
|
6692
|
-
}
|
|
6693
|
-
}
|
|
6694
|
-
}
|
|
6695
|
-
},
|
|
6696
|
-
"responses": {
|
|
6697
|
-
"200": {
|
|
6698
|
-
"description": "200 response"
|
|
6699
|
-
},
|
|
6700
|
-
"default": {
|
|
6701
|
-
"description": "Error",
|
|
6702
|
-
"content": {
|
|
6703
|
-
"application/json": {
|
|
6704
|
-
"schema": {
|
|
6705
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
6706
|
-
}
|
|
6707
|
-
}
|
|
6708
|
-
}
|
|
6709
|
-
}
|
|
6710
|
-
}
|
|
6711
|
-
}
|
|
6712
|
-
},
|
|
6713
|
-
"/work/{author}/{vanity}/lock": {
|
|
6714
|
-
"parameters": [
|
|
6715
|
-
{
|
|
6716
|
-
"name": "author",
|
|
6717
|
-
"in": "path"
|
|
6718
|
-
},
|
|
6719
|
-
{
|
|
6720
|
-
"name": "vanity",
|
|
6721
|
-
"in": "path"
|
|
6722
|
-
}
|
|
6723
|
-
],
|
|
6724
|
-
"post": {
|
|
6725
|
-
"requestBody": {
|
|
6726
|
-
"content": {
|
|
6727
|
-
"application/json": {
|
|
6728
|
-
"schema": {
|
|
6729
|
-
"$ref": "#/components/schemas/WorkLockBody"
|
|
6547
|
+
"minimum": 0
|
|
6548
|
+
}
|
|
6549
|
+
]
|
|
6550
|
+
}
|
|
6551
|
+
},
|
|
6552
|
+
"required": [
|
|
6553
|
+
"data",
|
|
6554
|
+
"has_more",
|
|
6555
|
+
"page",
|
|
6556
|
+
"page_count"
|
|
6557
|
+
]
|
|
6558
|
+
}
|
|
6730
6559
|
}
|
|
6731
6560
|
}
|
|
6732
|
-
}
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
"200": {
|
|
6736
|
-
"description": "200 response"
|
|
6561
|
+
},
|
|
6562
|
+
"304": {
|
|
6563
|
+
"description": "304 response"
|
|
6737
6564
|
},
|
|
6738
6565
|
"default": {
|
|
6739
6566
|
"description": "Error",
|
|
@@ -6748,18 +6575,27 @@
|
|
|
6748
6575
|
}
|
|
6749
6576
|
}
|
|
6750
6577
|
},
|
|
6751
|
-
"/work/{author}/{
|
|
6578
|
+
"/work/{author}/{work}/chapters/setvisibility": {
|
|
6752
6579
|
"parameters": [
|
|
6753
6580
|
{
|
|
6754
6581
|
"name": "author",
|
|
6755
6582
|
"in": "path"
|
|
6756
6583
|
},
|
|
6757
6584
|
{
|
|
6758
|
-
"name": "
|
|
6585
|
+
"name": "work",
|
|
6759
6586
|
"in": "path"
|
|
6760
6587
|
}
|
|
6761
6588
|
],
|
|
6762
6589
|
"post": {
|
|
6590
|
+
"requestBody": {
|
|
6591
|
+
"content": {
|
|
6592
|
+
"application/json": {
|
|
6593
|
+
"schema": {
|
|
6594
|
+
"$ref": "#/components/schemas/CampaignTierSetBody"
|
|
6595
|
+
}
|
|
6596
|
+
}
|
|
6597
|
+
}
|
|
6598
|
+
},
|
|
6763
6599
|
"responses": {
|
|
6764
6600
|
"200": {
|
|
6765
6601
|
"description": "200 response"
|
|
@@ -11629,8 +11465,12 @@
|
|
|
11629
11465
|
}
|
|
11630
11466
|
}
|
|
11631
11467
|
},
|
|
11632
|
-
"/
|
|
11468
|
+
"/moderation/work/{author}/{vanity}/censor": {
|
|
11633
11469
|
"parameters": [
|
|
11470
|
+
{
|
|
11471
|
+
"name": "author",
|
|
11472
|
+
"in": "path"
|
|
11473
|
+
},
|
|
11634
11474
|
{
|
|
11635
11475
|
"name": "vanity",
|
|
11636
11476
|
"in": "path"
|
|
@@ -11641,7 +11481,7 @@
|
|
|
11641
11481
|
"content": {
|
|
11642
11482
|
"application/json": {
|
|
11643
11483
|
"schema": {
|
|
11644
|
-
"$ref": "#/components/schemas/
|
|
11484
|
+
"$ref": "#/components/schemas/WorkCensorBody"
|
|
11645
11485
|
}
|
|
11646
11486
|
}
|
|
11647
11487
|
}
|
|
@@ -11663,7 +11503,49 @@
|
|
|
11663
11503
|
}
|
|
11664
11504
|
}
|
|
11665
11505
|
},
|
|
11666
|
-
"/
|
|
11506
|
+
"/moderation/work/{author}/{work}/chapter/{url}/censor": {
|
|
11507
|
+
"parameters": [
|
|
11508
|
+
{
|
|
11509
|
+
"name": "author",
|
|
11510
|
+
"in": "path"
|
|
11511
|
+
},
|
|
11512
|
+
{
|
|
11513
|
+
"name": "work",
|
|
11514
|
+
"in": "path"
|
|
11515
|
+
},
|
|
11516
|
+
{
|
|
11517
|
+
"name": "url",
|
|
11518
|
+
"in": "path"
|
|
11519
|
+
}
|
|
11520
|
+
],
|
|
11521
|
+
"post": {
|
|
11522
|
+
"requestBody": {
|
|
11523
|
+
"content": {
|
|
11524
|
+
"application/json": {
|
|
11525
|
+
"schema": {
|
|
11526
|
+
"$ref": "#/components/schemas/ChapterCensorBody"
|
|
11527
|
+
}
|
|
11528
|
+
}
|
|
11529
|
+
}
|
|
11530
|
+
},
|
|
11531
|
+
"responses": {
|
|
11532
|
+
"200": {
|
|
11533
|
+
"description": "200 response"
|
|
11534
|
+
},
|
|
11535
|
+
"default": {
|
|
11536
|
+
"description": "Error",
|
|
11537
|
+
"content": {
|
|
11538
|
+
"application/json": {
|
|
11539
|
+
"schema": {
|
|
11540
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11541
|
+
}
|
|
11542
|
+
}
|
|
11543
|
+
}
|
|
11544
|
+
}
|
|
11545
|
+
}
|
|
11546
|
+
}
|
|
11547
|
+
},
|
|
11548
|
+
"/moderation/work/{author}/{vanity}/lock": {
|
|
11667
11549
|
"parameters": [
|
|
11668
11550
|
{
|
|
11669
11551
|
"name": "author",
|
|
@@ -11679,7 +11561,7 @@
|
|
|
11679
11561
|
"content": {
|
|
11680
11562
|
"application/json": {
|
|
11681
11563
|
"schema": {
|
|
11682
|
-
"$ref": "#/components/schemas/
|
|
11564
|
+
"$ref": "#/components/schemas/WorkLockBody"
|
|
11683
11565
|
}
|
|
11684
11566
|
}
|
|
11685
11567
|
}
|
|
@@ -11701,18 +11583,98 @@
|
|
|
11701
11583
|
}
|
|
11702
11584
|
}
|
|
11703
11585
|
},
|
|
11704
|
-
"/
|
|
11586
|
+
"/moderation/work/{author}/{vanity}/unlock": {
|
|
11705
11587
|
"parameters": [
|
|
11706
11588
|
{
|
|
11707
11589
|
"name": "author",
|
|
11708
11590
|
"in": "path"
|
|
11709
11591
|
},
|
|
11710
11592
|
{
|
|
11711
|
-
"name": "
|
|
11593
|
+
"name": "vanity",
|
|
11594
|
+
"in": "path"
|
|
11595
|
+
}
|
|
11596
|
+
],
|
|
11597
|
+
"post": {
|
|
11598
|
+
"responses": {
|
|
11599
|
+
"200": {
|
|
11600
|
+
"description": "200 response"
|
|
11601
|
+
},
|
|
11602
|
+
"default": {
|
|
11603
|
+
"description": "Error",
|
|
11604
|
+
"content": {
|
|
11605
|
+
"application/json": {
|
|
11606
|
+
"schema": {
|
|
11607
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11608
|
+
}
|
|
11609
|
+
}
|
|
11610
|
+
}
|
|
11611
|
+
}
|
|
11612
|
+
}
|
|
11613
|
+
}
|
|
11614
|
+
},
|
|
11615
|
+
"/moderation/author/{vanity}/censor": {
|
|
11616
|
+
"parameters": [
|
|
11617
|
+
{
|
|
11618
|
+
"name": "vanity",
|
|
11712
11619
|
"in": "path"
|
|
11620
|
+
}
|
|
11621
|
+
],
|
|
11622
|
+
"post": {
|
|
11623
|
+
"requestBody": {
|
|
11624
|
+
"content": {
|
|
11625
|
+
"application/json": {
|
|
11626
|
+
"schema": {
|
|
11627
|
+
"$ref": "#/components/schemas/AuthorCensorBody"
|
|
11628
|
+
}
|
|
11629
|
+
}
|
|
11630
|
+
}
|
|
11713
11631
|
},
|
|
11632
|
+
"responses": {
|
|
11633
|
+
"200": {
|
|
11634
|
+
"description": "200 response"
|
|
11635
|
+
},
|
|
11636
|
+
"default": {
|
|
11637
|
+
"description": "Error",
|
|
11638
|
+
"content": {
|
|
11639
|
+
"application/json": {
|
|
11640
|
+
"schema": {
|
|
11641
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11642
|
+
}
|
|
11643
|
+
}
|
|
11644
|
+
}
|
|
11645
|
+
}
|
|
11646
|
+
}
|
|
11647
|
+
}
|
|
11648
|
+
},
|
|
11649
|
+
"/moderation/author/{vanity}/delete": {
|
|
11650
|
+
"parameters": [
|
|
11714
11651
|
{
|
|
11715
|
-
"name": "
|
|
11652
|
+
"name": "vanity",
|
|
11653
|
+
"in": "path"
|
|
11654
|
+
}
|
|
11655
|
+
],
|
|
11656
|
+
"post": {
|
|
11657
|
+
"responses": {
|
|
11658
|
+
"200": {
|
|
11659
|
+
"description": "200 response"
|
|
11660
|
+
},
|
|
11661
|
+
"default": {
|
|
11662
|
+
"description": "Error",
|
|
11663
|
+
"content": {
|
|
11664
|
+
"application/json": {
|
|
11665
|
+
"schema": {
|
|
11666
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11667
|
+
}
|
|
11668
|
+
}
|
|
11669
|
+
}
|
|
11670
|
+
}
|
|
11671
|
+
}
|
|
11672
|
+
}
|
|
11673
|
+
},
|
|
11674
|
+
"/moderation/author/{vanity}/grant-supporter": {
|
|
11675
|
+
"parameters": [
|
|
11676
|
+
{
|
|
11677
|
+
"name": "vanity",
|
|
11716
11678
|
"in": "path"
|
|
11717
11679
|
}
|
|
11718
11680
|
],
|
|
@@ -11721,7 +11683,7 @@
|
|
|
11721
11683
|
"content": {
|
|
11722
11684
|
"application/json": {
|
|
11723
11685
|
"schema": {
|
|
11724
|
-
"$ref": "#/components/schemas/
|
|
11686
|
+
"$ref": "#/components/schemas/ModerationSupporterGrantBody"
|
|
11725
11687
|
}
|
|
11726
11688
|
}
|
|
11727
11689
|
}
|
|
@@ -11743,10 +11705,10 @@
|
|
|
11743
11705
|
}
|
|
11744
11706
|
}
|
|
11745
11707
|
},
|
|
11746
|
-
"/report/
|
|
11708
|
+
"/report/author/{vanity}": {
|
|
11747
11709
|
"parameters": [
|
|
11748
11710
|
{
|
|
11749
|
-
"name": "
|
|
11711
|
+
"name": "vanity",
|
|
11750
11712
|
"in": "path"
|
|
11751
11713
|
}
|
|
11752
11714
|
],
|
|
@@ -11755,7 +11717,7 @@
|
|
|
11755
11717
|
"content": {
|
|
11756
11718
|
"application/json": {
|
|
11757
11719
|
"schema": {
|
|
11758
|
-
"$ref": "#/components/schemas/
|
|
11720
|
+
"$ref": "#/components/schemas/ReportAuthorBody"
|
|
11759
11721
|
}
|
|
11760
11722
|
}
|
|
11761
11723
|
}
|
|
@@ -11777,8 +11739,12 @@
|
|
|
11777
11739
|
}
|
|
11778
11740
|
}
|
|
11779
11741
|
},
|
|
11780
|
-
"/
|
|
11742
|
+
"/report/work/{author}/{vanity}": {
|
|
11781
11743
|
"parameters": [
|
|
11744
|
+
{
|
|
11745
|
+
"name": "author",
|
|
11746
|
+
"in": "path"
|
|
11747
|
+
},
|
|
11782
11748
|
{
|
|
11783
11749
|
"name": "vanity",
|
|
11784
11750
|
"in": "path"
|
|
@@ -11789,7 +11755,83 @@
|
|
|
11789
11755
|
"content": {
|
|
11790
11756
|
"application/json": {
|
|
11791
11757
|
"schema": {
|
|
11792
|
-
"$ref": "#/components/schemas/
|
|
11758
|
+
"$ref": "#/components/schemas/ReportWorkBody"
|
|
11759
|
+
}
|
|
11760
|
+
}
|
|
11761
|
+
}
|
|
11762
|
+
},
|
|
11763
|
+
"responses": {
|
|
11764
|
+
"200": {
|
|
11765
|
+
"description": "200 response"
|
|
11766
|
+
},
|
|
11767
|
+
"default": {
|
|
11768
|
+
"description": "Error",
|
|
11769
|
+
"content": {
|
|
11770
|
+
"application/json": {
|
|
11771
|
+
"schema": {
|
|
11772
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11773
|
+
}
|
|
11774
|
+
}
|
|
11775
|
+
}
|
|
11776
|
+
}
|
|
11777
|
+
}
|
|
11778
|
+
}
|
|
11779
|
+
},
|
|
11780
|
+
"/report/work/{author}/{work}/chapter/{url}": {
|
|
11781
|
+
"parameters": [
|
|
11782
|
+
{
|
|
11783
|
+
"name": "author",
|
|
11784
|
+
"in": "path"
|
|
11785
|
+
},
|
|
11786
|
+
{
|
|
11787
|
+
"name": "work",
|
|
11788
|
+
"in": "path"
|
|
11789
|
+
},
|
|
11790
|
+
{
|
|
11791
|
+
"name": "url",
|
|
11792
|
+
"in": "path"
|
|
11793
|
+
}
|
|
11794
|
+
],
|
|
11795
|
+
"post": {
|
|
11796
|
+
"requestBody": {
|
|
11797
|
+
"content": {
|
|
11798
|
+
"application/json": {
|
|
11799
|
+
"schema": {
|
|
11800
|
+
"$ref": "#/components/schemas/ReportChapterBody"
|
|
11801
|
+
}
|
|
11802
|
+
}
|
|
11803
|
+
}
|
|
11804
|
+
},
|
|
11805
|
+
"responses": {
|
|
11806
|
+
"200": {
|
|
11807
|
+
"description": "200 response"
|
|
11808
|
+
},
|
|
11809
|
+
"default": {
|
|
11810
|
+
"description": "Error",
|
|
11811
|
+
"content": {
|
|
11812
|
+
"application/json": {
|
|
11813
|
+
"schema": {
|
|
11814
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11815
|
+
}
|
|
11816
|
+
}
|
|
11817
|
+
}
|
|
11818
|
+
}
|
|
11819
|
+
}
|
|
11820
|
+
}
|
|
11821
|
+
},
|
|
11822
|
+
"/report/comment/{id}": {
|
|
11823
|
+
"parameters": [
|
|
11824
|
+
{
|
|
11825
|
+
"name": "id",
|
|
11826
|
+
"in": "path"
|
|
11827
|
+
}
|
|
11828
|
+
],
|
|
11829
|
+
"post": {
|
|
11830
|
+
"requestBody": {
|
|
11831
|
+
"content": {
|
|
11832
|
+
"application/json": {
|
|
11833
|
+
"schema": {
|
|
11834
|
+
"$ref": "#/components/schemas/ReportCommentBody"
|
|
11793
11835
|
}
|
|
11794
11836
|
}
|
|
11795
11837
|
}
|
package/package.json
CHANGED