api.fluff4.me 1.0.1122 → 1.0.1124
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 +16 -40
- package/openapi.json +20 -140
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1630,13 +1630,13 @@ export interface Paths {
|
|
|
1630
1630
|
search?: undefined
|
|
1631
1631
|
response: Response<Role> | ErrorResponse
|
|
1632
1632
|
},
|
|
1633
|
-
"/v2/roles/{id}/grant
|
|
1633
|
+
"/v2/roles/author/{author}/{id}/grant": {
|
|
1634
1634
|
method: "post"
|
|
1635
1635
|
body?: undefined
|
|
1636
1636
|
search?: undefined
|
|
1637
1637
|
response: void | ErrorResponse
|
|
1638
1638
|
},
|
|
1639
|
-
"/v2/roles/{id}/revoke
|
|
1639
|
+
"/v2/roles/author/{author}/{id}/revoke": {
|
|
1640
1640
|
method: "post"
|
|
1641
1641
|
body?: undefined
|
|
1642
1642
|
search?: undefined
|
|
@@ -1744,73 +1744,73 @@ export interface Paths {
|
|
|
1744
1744
|
search?: undefined
|
|
1745
1745
|
response: Response<AuthorSelf> | ErrorResponse
|
|
1746
1746
|
},
|
|
1747
|
-
"/v2/tags/
|
|
1747
|
+
"/v2/tags/global/create": {
|
|
1748
1748
|
method: "post"
|
|
1749
1749
|
body: TagCreateGlobalBody
|
|
1750
1750
|
search?: undefined
|
|
1751
1751
|
response: Response<Tag> | ErrorResponse
|
|
1752
1752
|
},
|
|
1753
|
-
"/v2/tags/
|
|
1753
|
+
"/v2/tags/global/{id}/update": {
|
|
1754
1754
|
method: "post"
|
|
1755
1755
|
body: TagGlobalUpdateBody
|
|
1756
1756
|
search?: undefined
|
|
1757
1757
|
response: Response<Tag> | ErrorResponse
|
|
1758
1758
|
},
|
|
1759
|
-
"/v2/tags/
|
|
1759
|
+
"/v2/tags/global/{id}/demote": {
|
|
1760
1760
|
method: "post"
|
|
1761
1761
|
body: TagGlobalDemoteBody
|
|
1762
1762
|
search?: undefined
|
|
1763
1763
|
response: Response<CustomTag> | ErrorResponse
|
|
1764
1764
|
},
|
|
1765
|
-
"/v2/tags/
|
|
1765
|
+
"/v2/tags/global/delete": {
|
|
1766
1766
|
method: "post"
|
|
1767
1767
|
body: GlobalTagsDeleteBody
|
|
1768
1768
|
search?: undefined
|
|
1769
1769
|
response: void | ErrorResponse
|
|
1770
1770
|
},
|
|
1771
|
-
"/v2/tags/
|
|
1771
|
+
"/v2/tags/global/recategorise": {
|
|
1772
1772
|
method: "post"
|
|
1773
1773
|
body: GlobalTagsRecategoriseBody
|
|
1774
1774
|
search?: undefined
|
|
1775
1775
|
response: void | ErrorResponse
|
|
1776
1776
|
},
|
|
1777
|
-
"/v2/tags/
|
|
1777
|
+
"/v2/tags/category/create": {
|
|
1778
1778
|
method: "post"
|
|
1779
1779
|
body: TagCreateCategoryBody
|
|
1780
1780
|
search?: undefined
|
|
1781
1781
|
response: Response<TagCategory> | ErrorResponse
|
|
1782
1782
|
},
|
|
1783
|
-
"/v2/tags/
|
|
1783
|
+
"/v2/tags/category/{name}/update": {
|
|
1784
1784
|
method: "post"
|
|
1785
1785
|
body: TagCategoryUpdateBody
|
|
1786
1786
|
search?: undefined
|
|
1787
1787
|
response: Response<TagCategory> | ErrorResponse
|
|
1788
1788
|
},
|
|
1789
|
-
"/v2/tags/
|
|
1789
|
+
"/v2/tags/category/{name}/delete": {
|
|
1790
1790
|
method: "post"
|
|
1791
1791
|
body?: undefined
|
|
1792
1792
|
search?: undefined
|
|
1793
1793
|
response: void | ErrorResponse
|
|
1794
1794
|
},
|
|
1795
|
-
"/v2/tags/
|
|
1795
|
+
"/v2/tags/custom/promote": {
|
|
1796
1796
|
method: "post"
|
|
1797
1797
|
body: TagCustomPromoteBody
|
|
1798
1798
|
search?: undefined
|
|
1799
1799
|
response: Response<Tag> | ErrorResponse
|
|
1800
1800
|
},
|
|
1801
|
-
"/v2/tags/
|
|
1801
|
+
"/v2/tags/custom": {
|
|
1802
1802
|
method: "get"
|
|
1803
1803
|
body?: undefined
|
|
1804
1804
|
search?: undefined
|
|
1805
1805
|
response: Response<CustomTagUsage[]> | ErrorResponse
|
|
1806
1806
|
},
|
|
1807
|
-
"/v2/tags/
|
|
1807
|
+
"/v2/tags/custom/{name}/update": {
|
|
1808
1808
|
method: "post"
|
|
1809
1809
|
body: CustomTagRenameBody
|
|
1810
1810
|
search?: undefined
|
|
1811
1811
|
response: Response<CustomTag> | ErrorResponse
|
|
1812
1812
|
},
|
|
1813
|
-
"/v2/tags/
|
|
1813
|
+
"/v2/tags/custom/delete": {
|
|
1814
1814
|
method: "post"
|
|
1815
1815
|
body: CustomTagsDeleteBody
|
|
1816
1816
|
search?: undefined
|
|
@@ -2032,31 +2032,19 @@ export interface Paths {
|
|
|
2032
2032
|
search?: undefined
|
|
2033
2033
|
response: void | ErrorResponse
|
|
2034
2034
|
},
|
|
2035
|
-
"/v2/reactions/comment/{id}/remove": {
|
|
2036
|
-
method: "post"
|
|
2037
|
-
body?: undefined
|
|
2038
|
-
search?: undefined
|
|
2039
|
-
response: void | ErrorResponse
|
|
2040
|
-
},
|
|
2041
2035
|
"/v2/reactions/chapter/{author}/{work}/{url}/{type}/add": {
|
|
2042
2036
|
method: "post"
|
|
2043
2037
|
body?: undefined
|
|
2044
2038
|
search?: undefined
|
|
2045
2039
|
response: void | ErrorResponse
|
|
2046
2040
|
},
|
|
2047
|
-
"/v2/reactions/chapter/{author}/{work}/{url}/{type}/supporter/add": {
|
|
2048
|
-
method: "post"
|
|
2049
|
-
body?: undefined
|
|
2050
|
-
search?: undefined
|
|
2051
|
-
response: void | ErrorResponse
|
|
2052
|
-
},
|
|
2053
2041
|
"/v2/reactions/chapter/{author}/{work}/{url}/{type}/remove": {
|
|
2054
2042
|
method: "post"
|
|
2055
2043
|
body?: undefined
|
|
2056
2044
|
search?: undefined
|
|
2057
2045
|
response: void | ErrorResponse
|
|
2058
2046
|
},
|
|
2059
|
-
"/v2/reactions/chapter/{author}/{work}/{url}/
|
|
2047
|
+
"/v2/reactions/chapter/{author}/{work}/{url}/supporter/add": {
|
|
2060
2048
|
method: "post"
|
|
2061
2049
|
body?: undefined
|
|
2062
2050
|
search?: undefined
|
|
@@ -2164,7 +2152,7 @@ export interface Paths {
|
|
|
2164
2152
|
search?: undefined
|
|
2165
2153
|
response: void | ErrorResponse
|
|
2166
2154
|
},
|
|
2167
|
-
"/v2/reports/
|
|
2155
|
+
"/v2/reports/chapter/{author}/{work}/{url}/add": {
|
|
2168
2156
|
method: "post"
|
|
2169
2157
|
body: ReportChapterBody
|
|
2170
2158
|
search?: undefined
|
|
@@ -2488,12 +2476,6 @@ export interface Paths {
|
|
|
2488
2476
|
search?: undefined
|
|
2489
2477
|
response: void | ErrorResponse
|
|
2490
2478
|
},
|
|
2491
|
-
"/work/{author}/{work}/chapter/{url}/unreact": {
|
|
2492
|
-
method: "post"
|
|
2493
|
-
body?: undefined
|
|
2494
|
-
search?: undefined
|
|
2495
|
-
response: void | ErrorResponse
|
|
2496
|
-
},
|
|
2497
2479
|
"/work/{author}/{work}/chapter/{url}/unreact/supporter": {
|
|
2498
2480
|
method: "post"
|
|
2499
2481
|
body?: undefined
|
|
@@ -2818,12 +2800,6 @@ export interface Paths {
|
|
|
2818
2800
|
search?: undefined
|
|
2819
2801
|
response: void | ErrorResponse
|
|
2820
2802
|
},
|
|
2821
|
-
"/comment/{comment_id}/unreact": {
|
|
2822
|
-
method: "post"
|
|
2823
|
-
body?: undefined
|
|
2824
|
-
search?: undefined
|
|
2825
|
-
response: void | ErrorResponse
|
|
2826
|
-
},
|
|
2827
2803
|
"/comments/{under}": {
|
|
2828
2804
|
method: "get"
|
|
2829
2805
|
body?: undefined
|
package/openapi.json
CHANGED
|
@@ -10147,14 +10147,14 @@
|
|
|
10147
10147
|
}
|
|
10148
10148
|
}
|
|
10149
10149
|
},
|
|
10150
|
-
"/v2/roles/{id}/grant
|
|
10150
|
+
"/v2/roles/author/{author}/{id}/grant": {
|
|
10151
10151
|
"parameters": [
|
|
10152
10152
|
{
|
|
10153
|
-
"name": "
|
|
10153
|
+
"name": "author",
|
|
10154
10154
|
"in": "path"
|
|
10155
10155
|
},
|
|
10156
10156
|
{
|
|
10157
|
-
"name": "
|
|
10157
|
+
"name": "id",
|
|
10158
10158
|
"in": "path"
|
|
10159
10159
|
}
|
|
10160
10160
|
],
|
|
@@ -10176,14 +10176,14 @@
|
|
|
10176
10176
|
}
|
|
10177
10177
|
}
|
|
10178
10178
|
},
|
|
10179
|
-
"/v2/roles/{id}/revoke
|
|
10179
|
+
"/v2/roles/author/{author}/{id}/revoke": {
|
|
10180
10180
|
"parameters": [
|
|
10181
10181
|
{
|
|
10182
|
-
"name": "
|
|
10182
|
+
"name": "author",
|
|
10183
10183
|
"in": "path"
|
|
10184
10184
|
},
|
|
10185
10185
|
{
|
|
10186
|
-
"name": "
|
|
10186
|
+
"name": "id",
|
|
10187
10187
|
"in": "path"
|
|
10188
10188
|
}
|
|
10189
10189
|
],
|
|
@@ -11337,7 +11337,7 @@
|
|
|
11337
11337
|
}
|
|
11338
11338
|
}
|
|
11339
11339
|
},
|
|
11340
|
-
"/v2/tags/
|
|
11340
|
+
"/v2/tags/global/create": {
|
|
11341
11341
|
"post": {
|
|
11342
11342
|
"requestBody": {
|
|
11343
11343
|
"content": {
|
|
@@ -11380,7 +11380,7 @@
|
|
|
11380
11380
|
}
|
|
11381
11381
|
}
|
|
11382
11382
|
},
|
|
11383
|
-
"/v2/tags/
|
|
11383
|
+
"/v2/tags/global/{id}/update": {
|
|
11384
11384
|
"parameters": [
|
|
11385
11385
|
{
|
|
11386
11386
|
"name": "id",
|
|
@@ -11429,7 +11429,7 @@
|
|
|
11429
11429
|
}
|
|
11430
11430
|
}
|
|
11431
11431
|
},
|
|
11432
|
-
"/v2/tags/
|
|
11432
|
+
"/v2/tags/global/{id}/demote": {
|
|
11433
11433
|
"parameters": [
|
|
11434
11434
|
{
|
|
11435
11435
|
"name": "id",
|
|
@@ -11478,7 +11478,7 @@
|
|
|
11478
11478
|
}
|
|
11479
11479
|
}
|
|
11480
11480
|
},
|
|
11481
|
-
"/v2/tags/
|
|
11481
|
+
"/v2/tags/global/delete": {
|
|
11482
11482
|
"post": {
|
|
11483
11483
|
"requestBody": {
|
|
11484
11484
|
"content": {
|
|
@@ -11506,7 +11506,7 @@
|
|
|
11506
11506
|
}
|
|
11507
11507
|
}
|
|
11508
11508
|
},
|
|
11509
|
-
"/v2/tags/
|
|
11509
|
+
"/v2/tags/global/recategorise": {
|
|
11510
11510
|
"post": {
|
|
11511
11511
|
"requestBody": {
|
|
11512
11512
|
"content": {
|
|
@@ -11534,7 +11534,7 @@
|
|
|
11534
11534
|
}
|
|
11535
11535
|
}
|
|
11536
11536
|
},
|
|
11537
|
-
"/v2/tags/
|
|
11537
|
+
"/v2/tags/category/create": {
|
|
11538
11538
|
"post": {
|
|
11539
11539
|
"requestBody": {
|
|
11540
11540
|
"content": {
|
|
@@ -11577,7 +11577,7 @@
|
|
|
11577
11577
|
}
|
|
11578
11578
|
}
|
|
11579
11579
|
},
|
|
11580
|
-
"/v2/tags/
|
|
11580
|
+
"/v2/tags/category/{name}/update": {
|
|
11581
11581
|
"parameters": [
|
|
11582
11582
|
{
|
|
11583
11583
|
"name": "name",
|
|
@@ -11626,7 +11626,7 @@
|
|
|
11626
11626
|
}
|
|
11627
11627
|
}
|
|
11628
11628
|
},
|
|
11629
|
-
"/v2/tags/
|
|
11629
|
+
"/v2/tags/category/{name}/delete": {
|
|
11630
11630
|
"parameters": [
|
|
11631
11631
|
{
|
|
11632
11632
|
"name": "name",
|
|
@@ -11651,7 +11651,7 @@
|
|
|
11651
11651
|
}
|
|
11652
11652
|
}
|
|
11653
11653
|
},
|
|
11654
|
-
"/v2/tags/
|
|
11654
|
+
"/v2/tags/custom/promote": {
|
|
11655
11655
|
"post": {
|
|
11656
11656
|
"requestBody": {
|
|
11657
11657
|
"content": {
|
|
@@ -11694,7 +11694,7 @@
|
|
|
11694
11694
|
}
|
|
11695
11695
|
}
|
|
11696
11696
|
},
|
|
11697
|
-
"/v2/tags/
|
|
11697
|
+
"/v2/tags/custom": {
|
|
11698
11698
|
"get": {
|
|
11699
11699
|
"responses": {
|
|
11700
11700
|
"200": {
|
|
@@ -11734,7 +11734,7 @@
|
|
|
11734
11734
|
}
|
|
11735
11735
|
}
|
|
11736
11736
|
},
|
|
11737
|
-
"/v2/tags/
|
|
11737
|
+
"/v2/tags/custom/{name}/update": {
|
|
11738
11738
|
"parameters": [
|
|
11739
11739
|
{
|
|
11740
11740
|
"name": "name",
|
|
@@ -11783,7 +11783,7 @@
|
|
|
11783
11783
|
}
|
|
11784
11784
|
}
|
|
11785
11785
|
},
|
|
11786
|
-
"/v2/tags/
|
|
11786
|
+
"/v2/tags/custom/delete": {
|
|
11787
11787
|
"post": {
|
|
11788
11788
|
"requestBody": {
|
|
11789
11789
|
"content": {
|
|
@@ -13737,31 +13737,6 @@
|
|
|
13737
13737
|
}
|
|
13738
13738
|
}
|
|
13739
13739
|
},
|
|
13740
|
-
"/v2/reactions/comment/{id}/remove": {
|
|
13741
|
-
"parameters": [
|
|
13742
|
-
{
|
|
13743
|
-
"name": "id",
|
|
13744
|
-
"in": "path"
|
|
13745
|
-
}
|
|
13746
|
-
],
|
|
13747
|
-
"post": {
|
|
13748
|
-
"responses": {
|
|
13749
|
-
"200": {
|
|
13750
|
-
"description": "200 response"
|
|
13751
|
-
},
|
|
13752
|
-
"default": {
|
|
13753
|
-
"description": "Error",
|
|
13754
|
-
"content": {
|
|
13755
|
-
"application/json": {
|
|
13756
|
-
"schema": {
|
|
13757
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13758
|
-
}
|
|
13759
|
-
}
|
|
13760
|
-
}
|
|
13761
|
-
}
|
|
13762
|
-
}
|
|
13763
|
-
}
|
|
13764
|
-
},
|
|
13765
13740
|
"/v2/reactions/chapter/{author}/{work}/{url}/{type}/add": {
|
|
13766
13741
|
"parameters": [
|
|
13767
13742
|
{
|
|
@@ -13799,43 +13774,6 @@
|
|
|
13799
13774
|
}
|
|
13800
13775
|
}
|
|
13801
13776
|
},
|
|
13802
|
-
"/v2/reactions/chapter/{author}/{work}/{url}/{type}/supporter/add": {
|
|
13803
|
-
"parameters": [
|
|
13804
|
-
{
|
|
13805
|
-
"name": "author",
|
|
13806
|
-
"in": "path"
|
|
13807
|
-
},
|
|
13808
|
-
{
|
|
13809
|
-
"name": "work",
|
|
13810
|
-
"in": "path"
|
|
13811
|
-
},
|
|
13812
|
-
{
|
|
13813
|
-
"name": "url",
|
|
13814
|
-
"in": "path"
|
|
13815
|
-
},
|
|
13816
|
-
{
|
|
13817
|
-
"name": "type",
|
|
13818
|
-
"in": "path"
|
|
13819
|
-
}
|
|
13820
|
-
],
|
|
13821
|
-
"post": {
|
|
13822
|
-
"responses": {
|
|
13823
|
-
"200": {
|
|
13824
|
-
"description": "200 response"
|
|
13825
|
-
},
|
|
13826
|
-
"default": {
|
|
13827
|
-
"description": "Error",
|
|
13828
|
-
"content": {
|
|
13829
|
-
"application/json": {
|
|
13830
|
-
"schema": {
|
|
13831
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
13832
|
-
}
|
|
13833
|
-
}
|
|
13834
|
-
}
|
|
13835
|
-
}
|
|
13836
|
-
}
|
|
13837
|
-
}
|
|
13838
|
-
},
|
|
13839
13777
|
"/v2/reactions/chapter/{author}/{work}/{url}/{type}/remove": {
|
|
13840
13778
|
"parameters": [
|
|
13841
13779
|
{
|
|
@@ -13873,7 +13811,7 @@
|
|
|
13873
13811
|
}
|
|
13874
13812
|
}
|
|
13875
13813
|
},
|
|
13876
|
-
"/v2/reactions/chapter/{author}/{work}/{url}/
|
|
13814
|
+
"/v2/reactions/chapter/{author}/{work}/{url}/supporter/add": {
|
|
13877
13815
|
"parameters": [
|
|
13878
13816
|
{
|
|
13879
13817
|
"name": "author",
|
|
@@ -14542,7 +14480,7 @@
|
|
|
14542
14480
|
}
|
|
14543
14481
|
}
|
|
14544
14482
|
},
|
|
14545
|
-
"/v2/reports/
|
|
14483
|
+
"/v2/reports/chapter/{author}/{work}/{url}/add": {
|
|
14546
14484
|
"parameters": [
|
|
14547
14485
|
{
|
|
14548
14486
|
"name": "author",
|
|
@@ -16586,39 +16524,6 @@
|
|
|
16586
16524
|
}
|
|
16587
16525
|
}
|
|
16588
16526
|
},
|
|
16589
|
-
"/work/{author}/{work}/chapter/{url}/unreact": {
|
|
16590
|
-
"parameters": [
|
|
16591
|
-
{
|
|
16592
|
-
"name": "author",
|
|
16593
|
-
"in": "path"
|
|
16594
|
-
},
|
|
16595
|
-
{
|
|
16596
|
-
"name": "work",
|
|
16597
|
-
"in": "path"
|
|
16598
|
-
},
|
|
16599
|
-
{
|
|
16600
|
-
"name": "url",
|
|
16601
|
-
"in": "path"
|
|
16602
|
-
}
|
|
16603
|
-
],
|
|
16604
|
-
"post": {
|
|
16605
|
-
"responses": {
|
|
16606
|
-
"200": {
|
|
16607
|
-
"description": "200 response"
|
|
16608
|
-
},
|
|
16609
|
-
"default": {
|
|
16610
|
-
"description": "Error",
|
|
16611
|
-
"content": {
|
|
16612
|
-
"application/json": {
|
|
16613
|
-
"schema": {
|
|
16614
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
16615
|
-
}
|
|
16616
|
-
}
|
|
16617
|
-
}
|
|
16618
|
-
}
|
|
16619
|
-
}
|
|
16620
|
-
}
|
|
16621
|
-
},
|
|
16622
16527
|
"/work/{author}/{work}/chapter/{url}/unreact/supporter": {
|
|
16623
16528
|
"parameters": [
|
|
16624
16529
|
{
|
|
@@ -19103,31 +19008,6 @@
|
|
|
19103
19008
|
}
|
|
19104
19009
|
}
|
|
19105
19010
|
},
|
|
19106
|
-
"/comment/{comment_id}/unreact": {
|
|
19107
|
-
"parameters": [
|
|
19108
|
-
{
|
|
19109
|
-
"name": "comment_id",
|
|
19110
|
-
"in": "path"
|
|
19111
|
-
}
|
|
19112
|
-
],
|
|
19113
|
-
"post": {
|
|
19114
|
-
"responses": {
|
|
19115
|
-
"200": {
|
|
19116
|
-
"description": "200 response"
|
|
19117
|
-
},
|
|
19118
|
-
"default": {
|
|
19119
|
-
"description": "Error",
|
|
19120
|
-
"content": {
|
|
19121
|
-
"application/json": {
|
|
19122
|
-
"schema": {
|
|
19123
|
-
"$ref": "#/components/schemas/ErrorResponse"
|
|
19124
|
-
}
|
|
19125
|
-
}
|
|
19126
|
-
}
|
|
19127
|
-
}
|
|
19128
|
-
}
|
|
19129
|
-
}
|
|
19130
|
-
},
|
|
19131
19011
|
"/comments/{under}": {
|
|
19132
19012
|
"parameters": [
|
|
19133
19013
|
{
|
package/package.json
CHANGED