api.fluff4.me 1.0.704 → 1.0.705
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 +471 -471
- 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?: boolean | null
|
|
835
|
+
vanity?: boolean | null
|
|
836
|
+
description?: boolean | null
|
|
837
|
+
synopsis?: boolean | null
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
export interface ChapterCensorBody {
|
|
841
|
+
name?: boolean | null
|
|
842
|
+
body?: boolean | null
|
|
843
|
+
notes_before?: boolean | null
|
|
844
|
+
notes_after?: boolean | null
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
export interface WorkLockBody {
|
|
848
|
+
reason: string
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
export interface AuthorCensorBody {
|
|
852
|
+
name?: boolean | null
|
|
853
|
+
vanity?: boolean | null
|
|
854
|
+
pronouns?: boolean | null
|
|
855
|
+
description?: boolean | null
|
|
856
|
+
support_link?: boolean | null
|
|
857
|
+
support_message?: boolean | 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,67 +4592,197 @@
|
|
|
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
|
-
"tos-violation"
|
|
4598
|
+
"name": {
|
|
4599
|
+
"anyOf": [
|
|
4600
|
+
{
|
|
4601
|
+
"type": "boolean"
|
|
4602
|
+
},
|
|
4603
|
+
{
|
|
4604
|
+
"type": "null"
|
|
4605
|
+
}
|
|
4774
4606
|
]
|
|
4775
4607
|
},
|
|
4776
|
-
"
|
|
4777
|
-
"
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
]
|
|
4785
|
-
},
|
|
4786
|
-
"ReportWorkBody": {
|
|
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"
|
|
4608
|
+
"vanity": {
|
|
4609
|
+
"anyOf": [
|
|
4610
|
+
{
|
|
4611
|
+
"type": "boolean"
|
|
4612
|
+
},
|
|
4613
|
+
{
|
|
4614
|
+
"type": "null"
|
|
4615
|
+
}
|
|
4798
4616
|
]
|
|
4799
4617
|
},
|
|
4800
|
-
"
|
|
4801
|
-
"
|
|
4802
|
-
|
|
4618
|
+
"description": {
|
|
4619
|
+
"anyOf": [
|
|
4620
|
+
{
|
|
4621
|
+
"type": "boolean"
|
|
4622
|
+
},
|
|
4623
|
+
{
|
|
4624
|
+
"type": "null"
|
|
4625
|
+
}
|
|
4626
|
+
]
|
|
4627
|
+
},
|
|
4628
|
+
"synopsis": {
|
|
4629
|
+
"anyOf": [
|
|
4630
|
+
{
|
|
4631
|
+
"type": "boolean"
|
|
4632
|
+
},
|
|
4633
|
+
{
|
|
4634
|
+
"type": "null"
|
|
4635
|
+
}
|
|
4636
|
+
]
|
|
4803
4637
|
}
|
|
4804
|
-
}
|
|
4805
|
-
"required": [
|
|
4806
|
-
"reason",
|
|
4807
|
-
"reason_body"
|
|
4808
|
-
]
|
|
4638
|
+
}
|
|
4809
4639
|
},
|
|
4810
|
-
"
|
|
4640
|
+
"ChapterCensorBody": {
|
|
4811
4641
|
"type": "object",
|
|
4812
4642
|
"properties": {
|
|
4813
|
-
"
|
|
4814
|
-
"
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4643
|
+
"name": {
|
|
4644
|
+
"anyOf": [
|
|
4645
|
+
{
|
|
4646
|
+
"type": "boolean"
|
|
4647
|
+
},
|
|
4648
|
+
{
|
|
4649
|
+
"type": "null"
|
|
4650
|
+
}
|
|
4651
|
+
]
|
|
4652
|
+
},
|
|
4653
|
+
"body": {
|
|
4654
|
+
"anyOf": [
|
|
4655
|
+
{
|
|
4656
|
+
"type": "boolean"
|
|
4657
|
+
},
|
|
4658
|
+
{
|
|
4659
|
+
"type": "null"
|
|
4660
|
+
}
|
|
4661
|
+
]
|
|
4662
|
+
},
|
|
4663
|
+
"notes_before": {
|
|
4664
|
+
"anyOf": [
|
|
4665
|
+
{
|
|
4666
|
+
"type": "boolean"
|
|
4667
|
+
},
|
|
4668
|
+
{
|
|
4669
|
+
"type": "null"
|
|
4670
|
+
}
|
|
4671
|
+
]
|
|
4672
|
+
},
|
|
4673
|
+
"notes_after": {
|
|
4674
|
+
"anyOf": [
|
|
4675
|
+
{
|
|
4676
|
+
"type": "boolean"
|
|
4677
|
+
},
|
|
4678
|
+
{
|
|
4679
|
+
"type": "null"
|
|
4680
|
+
}
|
|
4681
|
+
]
|
|
4682
|
+
}
|
|
4683
|
+
}
|
|
4684
|
+
},
|
|
4685
|
+
"WorkLockBody": {
|
|
4686
|
+
"type": "object",
|
|
4687
|
+
"properties": {
|
|
4688
|
+
"reason": {
|
|
4689
|
+
"type": "string",
|
|
4690
|
+
"maxLength": 512
|
|
4691
|
+
}
|
|
4692
|
+
},
|
|
4693
|
+
"required": [
|
|
4694
|
+
"reason"
|
|
4695
|
+
]
|
|
4696
|
+
},
|
|
4697
|
+
"AuthorCensorBody": {
|
|
4698
|
+
"type": "object",
|
|
4699
|
+
"properties": {
|
|
4700
|
+
"name": {
|
|
4701
|
+
"anyOf": [
|
|
4702
|
+
{
|
|
4703
|
+
"type": "boolean"
|
|
4704
|
+
},
|
|
4705
|
+
{
|
|
4706
|
+
"type": "null"
|
|
4707
|
+
}
|
|
4708
|
+
]
|
|
4709
|
+
},
|
|
4710
|
+
"vanity": {
|
|
4711
|
+
"anyOf": [
|
|
4712
|
+
{
|
|
4713
|
+
"type": "boolean"
|
|
4714
|
+
},
|
|
4715
|
+
{
|
|
4716
|
+
"type": "null"
|
|
4717
|
+
}
|
|
4718
|
+
]
|
|
4719
|
+
},
|
|
4720
|
+
"pronouns": {
|
|
4721
|
+
"anyOf": [
|
|
4722
|
+
{
|
|
4723
|
+
"type": "boolean"
|
|
4724
|
+
},
|
|
4725
|
+
{
|
|
4726
|
+
"type": "null"
|
|
4727
|
+
}
|
|
4728
|
+
]
|
|
4729
|
+
},
|
|
4730
|
+
"description": {
|
|
4731
|
+
"anyOf": [
|
|
4732
|
+
{
|
|
4733
|
+
"type": "boolean"
|
|
4734
|
+
},
|
|
4735
|
+
{
|
|
4736
|
+
"type": "null"
|
|
4737
|
+
}
|
|
4738
|
+
]
|
|
4739
|
+
},
|
|
4740
|
+
"support_link": {
|
|
4741
|
+
"anyOf": [
|
|
4742
|
+
{
|
|
4743
|
+
"type": "boolean"
|
|
4744
|
+
},
|
|
4745
|
+
{
|
|
4746
|
+
"type": "null"
|
|
4747
|
+
}
|
|
4748
|
+
]
|
|
4749
|
+
},
|
|
4750
|
+
"support_message": {
|
|
4751
|
+
"anyOf": [
|
|
4752
|
+
{
|
|
4753
|
+
"type": "boolean"
|
|
4754
|
+
},
|
|
4755
|
+
{
|
|
4756
|
+
"type": "null"
|
|
4757
|
+
}
|
|
4758
|
+
]
|
|
4759
|
+
}
|
|
4760
|
+
}
|
|
4761
|
+
},
|
|
4762
|
+
"ModerationSupporterGrantBody": {
|
|
4763
|
+
"type": "object",
|
|
4764
|
+
"properties": {
|
|
4765
|
+
"months": {
|
|
4766
|
+
"type": "number"
|
|
4767
|
+
}
|
|
4768
|
+
},
|
|
4769
|
+
"required": [
|
|
4770
|
+
"months"
|
|
4771
|
+
]
|
|
4772
|
+
},
|
|
4773
|
+
"ReportAuthorBody": {
|
|
4774
|
+
"type": "object",
|
|
4775
|
+
"properties": {
|
|
4776
|
+
"reason": {
|
|
4777
|
+
"type": "string",
|
|
4778
|
+
"enum": [
|
|
4779
|
+
"harassment",
|
|
4780
|
+
"impersonation",
|
|
4781
|
+
"spam",
|
|
4782
|
+
"phishing",
|
|
4783
|
+
"inappropriate-field",
|
|
4784
|
+
"tos-violation"
|
|
4785
|
+
]
|
|
4823
4786
|
},
|
|
4824
4787
|
"reason_body": {
|
|
4825
4788
|
"type": "string",
|
|
@@ -4831,17 +4794,18 @@
|
|
|
4831
4794
|
"reason_body"
|
|
4832
4795
|
]
|
|
4833
4796
|
},
|
|
4834
|
-
"
|
|
4797
|
+
"ReportWorkBody": {
|
|
4835
4798
|
"type": "object",
|
|
4836
4799
|
"properties": {
|
|
4837
4800
|
"reason": {
|
|
4838
4801
|
"type": "string",
|
|
4839
4802
|
"enum": [
|
|
4803
|
+
"plagiarism",
|
|
4804
|
+
"inadequate-tags",
|
|
4840
4805
|
"harassment",
|
|
4841
4806
|
"spam",
|
|
4842
|
-
"inappropriate",
|
|
4843
|
-
"tos-violation"
|
|
4844
|
-
"phishing"
|
|
4807
|
+
"inappropriate-field",
|
|
4808
|
+
"tos-violation"
|
|
4845
4809
|
]
|
|
4846
4810
|
},
|
|
4847
4811
|
"reason_body": {
|
|
@@ -4854,15 +4818,51 @@
|
|
|
4854
4818
|
"reason_body"
|
|
4855
4819
|
]
|
|
4856
4820
|
},
|
|
4857
|
-
"
|
|
4821
|
+
"ReportChapterBody": {
|
|
4858
4822
|
"type": "object",
|
|
4859
4823
|
"properties": {
|
|
4860
|
-
"
|
|
4861
|
-
"type": "
|
|
4824
|
+
"reason": {
|
|
4825
|
+
"type": "string",
|
|
4826
|
+
"enum": [
|
|
4827
|
+
"plagiarism",
|
|
4828
|
+
"inadequate-tags",
|
|
4829
|
+
"harassment",
|
|
4830
|
+
"spam",
|
|
4831
|
+
"inappropriate-field",
|
|
4832
|
+
"tos-violation"
|
|
4833
|
+
]
|
|
4834
|
+
},
|
|
4835
|
+
"reason_body": {
|
|
4836
|
+
"type": "string",
|
|
4837
|
+
"maxLength": 72
|
|
4862
4838
|
}
|
|
4863
4839
|
},
|
|
4864
4840
|
"required": [
|
|
4865
|
-
"
|
|
4841
|
+
"reason",
|
|
4842
|
+
"reason_body"
|
|
4843
|
+
]
|
|
4844
|
+
},
|
|
4845
|
+
"ReportCommentBody": {
|
|
4846
|
+
"type": "object",
|
|
4847
|
+
"properties": {
|
|
4848
|
+
"reason": {
|
|
4849
|
+
"type": "string",
|
|
4850
|
+
"enum": [
|
|
4851
|
+
"harassment",
|
|
4852
|
+
"spam",
|
|
4853
|
+
"inappropriate",
|
|
4854
|
+
"tos-violation",
|
|
4855
|
+
"phishing"
|
|
4856
|
+
]
|
|
4857
|
+
},
|
|
4858
|
+
"reason_body": {
|
|
4859
|
+
"type": "string",
|
|
4860
|
+
"maxLength": 72
|
|
4861
|
+
}
|
|
4862
|
+
},
|
|
4863
|
+
"required": [
|
|
4864
|
+
"reason",
|
|
4865
|
+
"reason_body"
|
|
4866
4866
|
]
|
|
4867
4867
|
},
|
|
4868
4868
|
"ErrorResponse": {
|
|
@@ -5444,65 +5444,6 @@
|
|
|
5444
5444
|
}
|
|
5445
5445
|
}
|
|
5446
5446
|
},
|
|
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
5447
|
"/author/update": {
|
|
5507
5448
|
"post": {
|
|
5508
5449
|
"requestBody": {
|
|
@@ -6400,48 +6341,6 @@
|
|
|
6400
6341
|
}
|
|
6401
6342
|
}
|
|
6402
6343
|
},
|
|
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
6344
|
"/work/{author}/{vanity}/chapters/list": {
|
|
6446
6345
|
"parameters": [
|
|
6447
6346
|
{
|
|
@@ -6603,137 +6502,23 @@
|
|
|
6603
6502
|
},
|
|
6604
6503
|
{
|
|
6605
6504
|
"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"
|
|
6505
|
+
"minimum": 0
|
|
6506
|
+
}
|
|
6507
|
+
]
|
|
6508
|
+
}
|
|
6509
|
+
},
|
|
6510
|
+
"required": [
|
|
6511
|
+
"data",
|
|
6512
|
+
"has_more",
|
|
6513
|
+
"page",
|
|
6514
|
+
"page_count"
|
|
6515
|
+
]
|
|
6516
|
+
}
|
|
6730
6517
|
}
|
|
6731
6518
|
}
|
|
6732
|
-
}
|
|
6733
|
-
|
|
6734
|
-
|
|
6735
|
-
"200": {
|
|
6736
|
-
"description": "200 response"
|
|
6519
|
+
},
|
|
6520
|
+
"304": {
|
|
6521
|
+
"description": "304 response"
|
|
6737
6522
|
},
|
|
6738
6523
|
"default": {
|
|
6739
6524
|
"description": "Error",
|
|
@@ -6748,18 +6533,27 @@
|
|
|
6748
6533
|
}
|
|
6749
6534
|
}
|
|
6750
6535
|
},
|
|
6751
|
-
"/work/{author}/{
|
|
6536
|
+
"/work/{author}/{work}/chapters/setvisibility": {
|
|
6752
6537
|
"parameters": [
|
|
6753
6538
|
{
|
|
6754
6539
|
"name": "author",
|
|
6755
6540
|
"in": "path"
|
|
6756
6541
|
},
|
|
6757
6542
|
{
|
|
6758
|
-
"name": "
|
|
6543
|
+
"name": "work",
|
|
6759
6544
|
"in": "path"
|
|
6760
6545
|
}
|
|
6761
6546
|
],
|
|
6762
6547
|
"post": {
|
|
6548
|
+
"requestBody": {
|
|
6549
|
+
"content": {
|
|
6550
|
+
"application/json": {
|
|
6551
|
+
"schema": {
|
|
6552
|
+
"$ref": "#/components/schemas/CampaignTierSetBody"
|
|
6553
|
+
}
|
|
6554
|
+
}
|
|
6555
|
+
}
|
|
6556
|
+
},
|
|
6763
6557
|
"responses": {
|
|
6764
6558
|
"200": {
|
|
6765
6559
|
"description": "200 response"
|
|
@@ -11629,8 +11423,12 @@
|
|
|
11629
11423
|
}
|
|
11630
11424
|
}
|
|
11631
11425
|
},
|
|
11632
|
-
"/
|
|
11426
|
+
"/moderation/work/{author}/{vanity}/censor": {
|
|
11633
11427
|
"parameters": [
|
|
11428
|
+
{
|
|
11429
|
+
"name": "author",
|
|
11430
|
+
"in": "path"
|
|
11431
|
+
},
|
|
11634
11432
|
{
|
|
11635
11433
|
"name": "vanity",
|
|
11636
11434
|
"in": "path"
|
|
@@ -11641,7 +11439,7 @@
|
|
|
11641
11439
|
"content": {
|
|
11642
11440
|
"application/json": {
|
|
11643
11441
|
"schema": {
|
|
11644
|
-
"$ref": "#/components/schemas/
|
|
11442
|
+
"$ref": "#/components/schemas/WorkCensorBody"
|
|
11645
11443
|
}
|
|
11646
11444
|
}
|
|
11647
11445
|
}
|
|
@@ -11663,7 +11461,49 @@
|
|
|
11663
11461
|
}
|
|
11664
11462
|
}
|
|
11665
11463
|
},
|
|
11666
|
-
"/
|
|
11464
|
+
"/moderation/work/{author}/{work}/chapter/{url}/censor": {
|
|
11465
|
+
"parameters": [
|
|
11466
|
+
{
|
|
11467
|
+
"name": "author",
|
|
11468
|
+
"in": "path"
|
|
11469
|
+
},
|
|
11470
|
+
{
|
|
11471
|
+
"name": "work",
|
|
11472
|
+
"in": "path"
|
|
11473
|
+
},
|
|
11474
|
+
{
|
|
11475
|
+
"name": "url",
|
|
11476
|
+
"in": "path"
|
|
11477
|
+
}
|
|
11478
|
+
],
|
|
11479
|
+
"post": {
|
|
11480
|
+
"requestBody": {
|
|
11481
|
+
"content": {
|
|
11482
|
+
"application/json": {
|
|
11483
|
+
"schema": {
|
|
11484
|
+
"$ref": "#/components/schemas/ChapterCensorBody"
|
|
11485
|
+
}
|
|
11486
|
+
}
|
|
11487
|
+
}
|
|
11488
|
+
},
|
|
11489
|
+
"responses": {
|
|
11490
|
+
"200": {
|
|
11491
|
+
"description": "200 response"
|
|
11492
|
+
},
|
|
11493
|
+
"default": {
|
|
11494
|
+
"description": "Error",
|
|
11495
|
+
"content": {
|
|
11496
|
+
"application/json": {
|
|
11497
|
+
"schema": {
|
|
11498
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11499
|
+
}
|
|
11500
|
+
}
|
|
11501
|
+
}
|
|
11502
|
+
}
|
|
11503
|
+
}
|
|
11504
|
+
}
|
|
11505
|
+
},
|
|
11506
|
+
"/moderation/work/{author}/{vanity}/lock": {
|
|
11667
11507
|
"parameters": [
|
|
11668
11508
|
{
|
|
11669
11509
|
"name": "author",
|
|
@@ -11679,7 +11519,7 @@
|
|
|
11679
11519
|
"content": {
|
|
11680
11520
|
"application/json": {
|
|
11681
11521
|
"schema": {
|
|
11682
|
-
"$ref": "#/components/schemas/
|
|
11522
|
+
"$ref": "#/components/schemas/WorkLockBody"
|
|
11683
11523
|
}
|
|
11684
11524
|
}
|
|
11685
11525
|
}
|
|
@@ -11701,18 +11541,98 @@
|
|
|
11701
11541
|
}
|
|
11702
11542
|
}
|
|
11703
11543
|
},
|
|
11704
|
-
"/
|
|
11544
|
+
"/moderation/work/{author}/{vanity}/unlock": {
|
|
11705
11545
|
"parameters": [
|
|
11706
11546
|
{
|
|
11707
11547
|
"name": "author",
|
|
11708
11548
|
"in": "path"
|
|
11709
11549
|
},
|
|
11710
11550
|
{
|
|
11711
|
-
"name": "
|
|
11551
|
+
"name": "vanity",
|
|
11552
|
+
"in": "path"
|
|
11553
|
+
}
|
|
11554
|
+
],
|
|
11555
|
+
"post": {
|
|
11556
|
+
"responses": {
|
|
11557
|
+
"200": {
|
|
11558
|
+
"description": "200 response"
|
|
11559
|
+
},
|
|
11560
|
+
"default": {
|
|
11561
|
+
"description": "Error",
|
|
11562
|
+
"content": {
|
|
11563
|
+
"application/json": {
|
|
11564
|
+
"schema": {
|
|
11565
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11566
|
+
}
|
|
11567
|
+
}
|
|
11568
|
+
}
|
|
11569
|
+
}
|
|
11570
|
+
}
|
|
11571
|
+
}
|
|
11572
|
+
},
|
|
11573
|
+
"/moderation/author/{vanity}/censor": {
|
|
11574
|
+
"parameters": [
|
|
11575
|
+
{
|
|
11576
|
+
"name": "vanity",
|
|
11712
11577
|
"in": "path"
|
|
11578
|
+
}
|
|
11579
|
+
],
|
|
11580
|
+
"post": {
|
|
11581
|
+
"requestBody": {
|
|
11582
|
+
"content": {
|
|
11583
|
+
"application/json": {
|
|
11584
|
+
"schema": {
|
|
11585
|
+
"$ref": "#/components/schemas/AuthorCensorBody"
|
|
11586
|
+
}
|
|
11587
|
+
}
|
|
11588
|
+
}
|
|
11713
11589
|
},
|
|
11590
|
+
"responses": {
|
|
11591
|
+
"200": {
|
|
11592
|
+
"description": "200 response"
|
|
11593
|
+
},
|
|
11594
|
+
"default": {
|
|
11595
|
+
"description": "Error",
|
|
11596
|
+
"content": {
|
|
11597
|
+
"application/json": {
|
|
11598
|
+
"schema": {
|
|
11599
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11600
|
+
}
|
|
11601
|
+
}
|
|
11602
|
+
}
|
|
11603
|
+
}
|
|
11604
|
+
}
|
|
11605
|
+
}
|
|
11606
|
+
},
|
|
11607
|
+
"/moderation/author/{vanity}/delete": {
|
|
11608
|
+
"parameters": [
|
|
11714
11609
|
{
|
|
11715
|
-
"name": "
|
|
11610
|
+
"name": "vanity",
|
|
11611
|
+
"in": "path"
|
|
11612
|
+
}
|
|
11613
|
+
],
|
|
11614
|
+
"post": {
|
|
11615
|
+
"responses": {
|
|
11616
|
+
"200": {
|
|
11617
|
+
"description": "200 response"
|
|
11618
|
+
},
|
|
11619
|
+
"default": {
|
|
11620
|
+
"description": "Error",
|
|
11621
|
+
"content": {
|
|
11622
|
+
"application/json": {
|
|
11623
|
+
"schema": {
|
|
11624
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11625
|
+
}
|
|
11626
|
+
}
|
|
11627
|
+
}
|
|
11628
|
+
}
|
|
11629
|
+
}
|
|
11630
|
+
}
|
|
11631
|
+
},
|
|
11632
|
+
"/moderation/author/{vanity}/grant-supporter": {
|
|
11633
|
+
"parameters": [
|
|
11634
|
+
{
|
|
11635
|
+
"name": "vanity",
|
|
11716
11636
|
"in": "path"
|
|
11717
11637
|
}
|
|
11718
11638
|
],
|
|
@@ -11721,7 +11641,7 @@
|
|
|
11721
11641
|
"content": {
|
|
11722
11642
|
"application/json": {
|
|
11723
11643
|
"schema": {
|
|
11724
|
-
"$ref": "#/components/schemas/
|
|
11644
|
+
"$ref": "#/components/schemas/ModerationSupporterGrantBody"
|
|
11725
11645
|
}
|
|
11726
11646
|
}
|
|
11727
11647
|
}
|
|
@@ -11743,10 +11663,10 @@
|
|
|
11743
11663
|
}
|
|
11744
11664
|
}
|
|
11745
11665
|
},
|
|
11746
|
-
"/report/
|
|
11666
|
+
"/report/author/{vanity}": {
|
|
11747
11667
|
"parameters": [
|
|
11748
11668
|
{
|
|
11749
|
-
"name": "
|
|
11669
|
+
"name": "vanity",
|
|
11750
11670
|
"in": "path"
|
|
11751
11671
|
}
|
|
11752
11672
|
],
|
|
@@ -11755,7 +11675,7 @@
|
|
|
11755
11675
|
"content": {
|
|
11756
11676
|
"application/json": {
|
|
11757
11677
|
"schema": {
|
|
11758
|
-
"$ref": "#/components/schemas/
|
|
11678
|
+
"$ref": "#/components/schemas/ReportAuthorBody"
|
|
11759
11679
|
}
|
|
11760
11680
|
}
|
|
11761
11681
|
}
|
|
@@ -11777,8 +11697,12 @@
|
|
|
11777
11697
|
}
|
|
11778
11698
|
}
|
|
11779
11699
|
},
|
|
11780
|
-
"/
|
|
11700
|
+
"/report/work/{author}/{vanity}": {
|
|
11781
11701
|
"parameters": [
|
|
11702
|
+
{
|
|
11703
|
+
"name": "author",
|
|
11704
|
+
"in": "path"
|
|
11705
|
+
},
|
|
11782
11706
|
{
|
|
11783
11707
|
"name": "vanity",
|
|
11784
11708
|
"in": "path"
|
|
@@ -11789,7 +11713,83 @@
|
|
|
11789
11713
|
"content": {
|
|
11790
11714
|
"application/json": {
|
|
11791
11715
|
"schema": {
|
|
11792
|
-
"$ref": "#/components/schemas/
|
|
11716
|
+
"$ref": "#/components/schemas/ReportWorkBody"
|
|
11717
|
+
}
|
|
11718
|
+
}
|
|
11719
|
+
}
|
|
11720
|
+
},
|
|
11721
|
+
"responses": {
|
|
11722
|
+
"200": {
|
|
11723
|
+
"description": "200 response"
|
|
11724
|
+
},
|
|
11725
|
+
"default": {
|
|
11726
|
+
"description": "Error",
|
|
11727
|
+
"content": {
|
|
11728
|
+
"application/json": {
|
|
11729
|
+
"schema": {
|
|
11730
|
+
"$ref": "#/components/schemas/ErrorResponse"
|
|
11731
|
+
}
|
|
11732
|
+
}
|
|
11733
|
+
}
|
|
11734
|
+
}
|
|
11735
|
+
}
|
|
11736
|
+
}
|
|
11737
|
+
},
|
|
11738
|
+
"/report/work/{author}/{work}/chapter/{url}": {
|
|
11739
|
+
"parameters": [
|
|
11740
|
+
{
|
|
11741
|
+
"name": "author",
|
|
11742
|
+
"in": "path"
|
|
11743
|
+
},
|
|
11744
|
+
{
|
|
11745
|
+
"name": "work",
|
|
11746
|
+
"in": "path"
|
|
11747
|
+
},
|
|
11748
|
+
{
|
|
11749
|
+
"name": "url",
|
|
11750
|
+
"in": "path"
|
|
11751
|
+
}
|
|
11752
|
+
],
|
|
11753
|
+
"post": {
|
|
11754
|
+
"requestBody": {
|
|
11755
|
+
"content": {
|
|
11756
|
+
"application/json": {
|
|
11757
|
+
"schema": {
|
|
11758
|
+
"$ref": "#/components/schemas/ReportChapterBody"
|
|
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/comment/{id}": {
|
|
11781
|
+
"parameters": [
|
|
11782
|
+
{
|
|
11783
|
+
"name": "id",
|
|
11784
|
+
"in": "path"
|
|
11785
|
+
}
|
|
11786
|
+
],
|
|
11787
|
+
"post": {
|
|
11788
|
+
"requestBody": {
|
|
11789
|
+
"content": {
|
|
11790
|
+
"application/json": {
|
|
11791
|
+
"schema": {
|
|
11792
|
+
"$ref": "#/components/schemas/ReportCommentBody"
|
|
11793
11793
|
}
|
|
11794
11794
|
}
|
|
11795
11795
|
}
|
package/package.json
CHANGED