api.fluff4.me 1.0.344 → 1.0.345

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.
Files changed (3) hide show
  1. package/index.d.ts +96 -6
  2. package/openapi.json +824 -110
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -669,7 +669,12 @@ export interface Paths {
669
669
  body?: undefined
670
670
  response: PaginatedResponse<Works> | ErrorResponse
671
671
  },
672
- "/follow/{type}/{vanity}": {
672
+ "/follow/author/{vanity}": {
673
+ method: "post"
674
+ body?: undefined
675
+ response: Response<Follow> | ErrorResponse
676
+ },
677
+ "/follow/work/{vanity}": {
673
678
  method: "post"
674
679
  body?: undefined
675
680
  response: Response<Follow> | ErrorResponse
@@ -679,7 +684,22 @@ export interface Paths {
679
684
  body?: undefined
680
685
  response: Response<Follow> | ErrorResponse
681
686
  },
682
- "/unfollow/{type}/{vanity}": {
687
+ "/follow/tag/{vanity}": {
688
+ method: "post"
689
+ body?: undefined
690
+ response: Response<Follow> | ErrorResponse
691
+ },
692
+ "/follow/category/{vanity}": {
693
+ method: "post"
694
+ body?: undefined
695
+ response: Response<Follow> | ErrorResponse
696
+ },
697
+ "/unfollow/author/{vanity}": {
698
+ method: "post"
699
+ body?: undefined
700
+ response: Response<Follow> | ErrorResponse
701
+ },
702
+ "/unfollow/work/{vanity}": {
683
703
  method: "post"
684
704
  body?: undefined
685
705
  response: Response<Follow> | ErrorResponse
@@ -689,6 +709,16 @@ export interface Paths {
689
709
  body?: undefined
690
710
  response: Response<Follow> | ErrorResponse
691
711
  },
712
+ "/unfollow/tag/{vanity}": {
713
+ method: "post"
714
+ body?: undefined
715
+ response: Response<Follow> | ErrorResponse
716
+ },
717
+ "/unfollow/category/{vanity}": {
718
+ method: "post"
719
+ body?: undefined
720
+ response: Response<Follow> | ErrorResponse
721
+ },
692
722
  "/following": {
693
723
  method: "get"
694
724
  body?: undefined
@@ -699,7 +729,12 @@ export interface Paths {
699
729
  body?: undefined
700
730
  response: PaginatedResponse<Follow[]> | ErrorResponse
701
731
  },
702
- "/follows/{type}/{vanity}": {
732
+ "/follows/author/{vanity}": {
733
+ method: "get"
734
+ body?: undefined
735
+ response: Response<Follow> | ErrorResponse
736
+ },
737
+ "/follows/work/{vanity}": {
703
738
  method: "get"
704
739
  body?: undefined
705
740
  response: Response<Follow> | ErrorResponse
@@ -709,7 +744,22 @@ export interface Paths {
709
744
  body?: undefined
710
745
  response: Response<Follow> | ErrorResponse
711
746
  },
712
- "/ignore/{type}/{vanity}": {
747
+ "/follows/tag/{vanity}": {
748
+ method: "get"
749
+ body?: undefined
750
+ response: Response<Follow> | ErrorResponse
751
+ },
752
+ "/follows/category/{vanity}": {
753
+ method: "get"
754
+ body?: undefined
755
+ response: Response<Follow> | ErrorResponse
756
+ },
757
+ "/ignore/author/{vanity}": {
758
+ method: "post"
759
+ body?: undefined
760
+ response: Response<Follow> | ErrorResponse
761
+ },
762
+ "/ignore/work/{vanity}": {
713
763
  method: "post"
714
764
  body?: undefined
715
765
  response: Response<Follow> | ErrorResponse
@@ -719,7 +769,22 @@ export interface Paths {
719
769
  body?: undefined
720
770
  response: Response<Follow> | ErrorResponse
721
771
  },
722
- "/unignore/{type}/{vanity}": {
772
+ "/ignore/tag/{vanity}": {
773
+ method: "post"
774
+ body?: undefined
775
+ response: Response<Follow> | ErrorResponse
776
+ },
777
+ "/ignore/category/{vanity}": {
778
+ method: "post"
779
+ body?: undefined
780
+ response: Response<Follow> | ErrorResponse
781
+ },
782
+ "/unignore/author/{vanity}": {
783
+ method: "post"
784
+ body?: undefined
785
+ response: Response<Follow> | ErrorResponse
786
+ },
787
+ "/unignore/work/{vanity}": {
723
788
  method: "post"
724
789
  body?: undefined
725
790
  response: Response<Follow> | ErrorResponse
@@ -729,12 +794,27 @@ export interface Paths {
729
794
  body?: undefined
730
795
  response: Response<Follow> | ErrorResponse
731
796
  },
797
+ "/unignore/tag/{vanity}": {
798
+ method: "post"
799
+ body?: undefined
800
+ response: Response<Follow> | ErrorResponse
801
+ },
802
+ "/unignore/category/{vanity}": {
803
+ method: "post"
804
+ body?: undefined
805
+ response: Response<Follow> | ErrorResponse
806
+ },
732
807
  "/ignoring/{type}": {
733
808
  method: "get"
734
809
  body?: undefined
735
810
  response: PaginatedResponse<Follow[]> | ErrorResponse
736
811
  },
737
- "/ignores/{type}/{vanity}": {
812
+ "/ignores/author/{vanity}": {
813
+ method: "get"
814
+ body?: undefined
815
+ response: Response<Follow> | ErrorResponse
816
+ },
817
+ "/ignores/work/{vanity}": {
738
818
  method: "get"
739
819
  body?: undefined
740
820
  response: Response<Follow> | ErrorResponse
@@ -744,6 +824,16 @@ export interface Paths {
744
824
  body?: undefined
745
825
  response: Response<Follow> | ErrorResponse
746
826
  },
827
+ "/ignores/tag/{vanity}": {
828
+ method: "get"
829
+ body?: undefined
830
+ response: Response<Follow> | ErrorResponse
831
+ },
832
+ "/ignores/category/{vanity}": {
833
+ method: "get"
834
+ body?: undefined
835
+ response: Response<Follow> | ErrorResponse
836
+ },
747
837
  "/privilege/get/{vanity}": {
748
838
  method: "get"
749
839
  body?: undefined
package/openapi.json CHANGED
@@ -4008,18 +4008,676 @@
4008
4008
  }
4009
4009
  }
4010
4010
  },
4011
- "/follow/{type}/{vanity}": {
4011
+ "/follow/author/{vanity}": {
4012
+ "parameters": [
4013
+ {
4014
+ "name": "vanity",
4015
+ "in": "path"
4016
+ }
4017
+ ],
4018
+ "post": {
4019
+ "responses": {
4020
+ "200": {
4021
+ "description": "200 response",
4022
+ "content": {
4023
+ "application/json": {
4024
+ "schema": {
4025
+ "type": "object",
4026
+ "properties": {
4027
+ "data": {
4028
+ "$ref": "#/components/schemas/Follow"
4029
+ }
4030
+ },
4031
+ "required": [
4032
+ "data"
4033
+ ]
4034
+ }
4035
+ }
4036
+ }
4037
+ },
4038
+ "default": {
4039
+ "description": "Error",
4040
+ "content": {
4041
+ "application/json": {
4042
+ "schema": {
4043
+ "$ref": "#/components/schemas/ErrorResponse"
4044
+ }
4045
+ }
4046
+ }
4047
+ }
4048
+ }
4049
+ }
4050
+ },
4051
+ "/follow/work/{vanity}": {
4052
+ "parameters": [
4053
+ {
4054
+ "name": "vanity",
4055
+ "in": "path"
4056
+ }
4057
+ ],
4058
+ "post": {
4059
+ "responses": {
4060
+ "200": {
4061
+ "description": "200 response",
4062
+ "content": {
4063
+ "application/json": {
4064
+ "schema": {
4065
+ "type": "object",
4066
+ "properties": {
4067
+ "data": {
4068
+ "$ref": "#/components/schemas/Follow"
4069
+ }
4070
+ },
4071
+ "required": [
4072
+ "data"
4073
+ ]
4074
+ }
4075
+ }
4076
+ }
4077
+ },
4078
+ "default": {
4079
+ "description": "Error",
4080
+ "content": {
4081
+ "application/json": {
4082
+ "schema": {
4083
+ "$ref": "#/components/schemas/ErrorResponse"
4084
+ }
4085
+ }
4086
+ }
4087
+ }
4088
+ }
4089
+ }
4090
+ },
4091
+ "/follow/work/{author}/{vanity}": {
4092
+ "parameters": [
4093
+ {
4094
+ "name": "author",
4095
+ "in": "path"
4096
+ },
4097
+ {
4098
+ "name": "vanity",
4099
+ "in": "path"
4100
+ }
4101
+ ],
4102
+ "post": {
4103
+ "responses": {
4104
+ "200": {
4105
+ "description": "200 response",
4106
+ "content": {
4107
+ "application/json": {
4108
+ "schema": {
4109
+ "type": "object",
4110
+ "properties": {
4111
+ "data": {
4112
+ "$ref": "#/components/schemas/Follow"
4113
+ }
4114
+ },
4115
+ "required": [
4116
+ "data"
4117
+ ]
4118
+ }
4119
+ }
4120
+ }
4121
+ },
4122
+ "default": {
4123
+ "description": "Error",
4124
+ "content": {
4125
+ "application/json": {
4126
+ "schema": {
4127
+ "$ref": "#/components/schemas/ErrorResponse"
4128
+ }
4129
+ }
4130
+ }
4131
+ }
4132
+ }
4133
+ }
4134
+ },
4135
+ "/follow/tag/{vanity}": {
4136
+ "parameters": [
4137
+ {
4138
+ "name": "vanity",
4139
+ "in": "path"
4140
+ }
4141
+ ],
4142
+ "post": {
4143
+ "responses": {
4144
+ "200": {
4145
+ "description": "200 response",
4146
+ "content": {
4147
+ "application/json": {
4148
+ "schema": {
4149
+ "type": "object",
4150
+ "properties": {
4151
+ "data": {
4152
+ "$ref": "#/components/schemas/Follow"
4153
+ }
4154
+ },
4155
+ "required": [
4156
+ "data"
4157
+ ]
4158
+ }
4159
+ }
4160
+ }
4161
+ },
4162
+ "default": {
4163
+ "description": "Error",
4164
+ "content": {
4165
+ "application/json": {
4166
+ "schema": {
4167
+ "$ref": "#/components/schemas/ErrorResponse"
4168
+ }
4169
+ }
4170
+ }
4171
+ }
4172
+ }
4173
+ }
4174
+ },
4175
+ "/follow/category/{vanity}": {
4176
+ "parameters": [
4177
+ {
4178
+ "name": "vanity",
4179
+ "in": "path"
4180
+ }
4181
+ ],
4182
+ "post": {
4183
+ "responses": {
4184
+ "200": {
4185
+ "description": "200 response",
4186
+ "content": {
4187
+ "application/json": {
4188
+ "schema": {
4189
+ "type": "object",
4190
+ "properties": {
4191
+ "data": {
4192
+ "$ref": "#/components/schemas/Follow"
4193
+ }
4194
+ },
4195
+ "required": [
4196
+ "data"
4197
+ ]
4198
+ }
4199
+ }
4200
+ }
4201
+ },
4202
+ "default": {
4203
+ "description": "Error",
4204
+ "content": {
4205
+ "application/json": {
4206
+ "schema": {
4207
+ "$ref": "#/components/schemas/ErrorResponse"
4208
+ }
4209
+ }
4210
+ }
4211
+ }
4212
+ }
4213
+ }
4214
+ },
4215
+ "/unfollow/author/{vanity}": {
4216
+ "parameters": [
4217
+ {
4218
+ "name": "vanity",
4219
+ "in": "path"
4220
+ }
4221
+ ],
4222
+ "post": {
4223
+ "responses": {
4224
+ "200": {
4225
+ "description": "200 response",
4226
+ "content": {
4227
+ "application/json": {
4228
+ "schema": {
4229
+ "type": "object",
4230
+ "properties": {
4231
+ "data": {
4232
+ "$ref": "#/components/schemas/Follow"
4233
+ }
4234
+ },
4235
+ "required": [
4236
+ "data"
4237
+ ]
4238
+ }
4239
+ }
4240
+ }
4241
+ },
4242
+ "default": {
4243
+ "description": "Error",
4244
+ "content": {
4245
+ "application/json": {
4246
+ "schema": {
4247
+ "$ref": "#/components/schemas/ErrorResponse"
4248
+ }
4249
+ }
4250
+ }
4251
+ }
4252
+ }
4253
+ }
4254
+ },
4255
+ "/unfollow/work/{vanity}": {
4256
+ "parameters": [
4257
+ {
4258
+ "name": "vanity",
4259
+ "in": "path"
4260
+ }
4261
+ ],
4262
+ "post": {
4263
+ "responses": {
4264
+ "200": {
4265
+ "description": "200 response",
4266
+ "content": {
4267
+ "application/json": {
4268
+ "schema": {
4269
+ "type": "object",
4270
+ "properties": {
4271
+ "data": {
4272
+ "$ref": "#/components/schemas/Follow"
4273
+ }
4274
+ },
4275
+ "required": [
4276
+ "data"
4277
+ ]
4278
+ }
4279
+ }
4280
+ }
4281
+ },
4282
+ "default": {
4283
+ "description": "Error",
4284
+ "content": {
4285
+ "application/json": {
4286
+ "schema": {
4287
+ "$ref": "#/components/schemas/ErrorResponse"
4288
+ }
4289
+ }
4290
+ }
4291
+ }
4292
+ }
4293
+ }
4294
+ },
4295
+ "/unfollow/work/{author}/{vanity}": {
4296
+ "parameters": [
4297
+ {
4298
+ "name": "author",
4299
+ "in": "path"
4300
+ },
4301
+ {
4302
+ "name": "vanity",
4303
+ "in": "path"
4304
+ }
4305
+ ],
4306
+ "post": {
4307
+ "responses": {
4308
+ "200": {
4309
+ "description": "200 response",
4310
+ "content": {
4311
+ "application/json": {
4312
+ "schema": {
4313
+ "type": "object",
4314
+ "properties": {
4315
+ "data": {
4316
+ "$ref": "#/components/schemas/Follow"
4317
+ }
4318
+ },
4319
+ "required": [
4320
+ "data"
4321
+ ]
4322
+ }
4323
+ }
4324
+ }
4325
+ },
4326
+ "default": {
4327
+ "description": "Error",
4328
+ "content": {
4329
+ "application/json": {
4330
+ "schema": {
4331
+ "$ref": "#/components/schemas/ErrorResponse"
4332
+ }
4333
+ }
4334
+ }
4335
+ }
4336
+ }
4337
+ }
4338
+ },
4339
+ "/unfollow/tag/{vanity}": {
4340
+ "parameters": [
4341
+ {
4342
+ "name": "vanity",
4343
+ "in": "path"
4344
+ }
4345
+ ],
4346
+ "post": {
4347
+ "responses": {
4348
+ "200": {
4349
+ "description": "200 response",
4350
+ "content": {
4351
+ "application/json": {
4352
+ "schema": {
4353
+ "type": "object",
4354
+ "properties": {
4355
+ "data": {
4356
+ "$ref": "#/components/schemas/Follow"
4357
+ }
4358
+ },
4359
+ "required": [
4360
+ "data"
4361
+ ]
4362
+ }
4363
+ }
4364
+ }
4365
+ },
4366
+ "default": {
4367
+ "description": "Error",
4368
+ "content": {
4369
+ "application/json": {
4370
+ "schema": {
4371
+ "$ref": "#/components/schemas/ErrorResponse"
4372
+ }
4373
+ }
4374
+ }
4375
+ }
4376
+ }
4377
+ }
4378
+ },
4379
+ "/unfollow/category/{vanity}": {
4380
+ "parameters": [
4381
+ {
4382
+ "name": "vanity",
4383
+ "in": "path"
4384
+ }
4385
+ ],
4386
+ "post": {
4387
+ "responses": {
4388
+ "200": {
4389
+ "description": "200 response",
4390
+ "content": {
4391
+ "application/json": {
4392
+ "schema": {
4393
+ "type": "object",
4394
+ "properties": {
4395
+ "data": {
4396
+ "$ref": "#/components/schemas/Follow"
4397
+ }
4398
+ },
4399
+ "required": [
4400
+ "data"
4401
+ ]
4402
+ }
4403
+ }
4404
+ }
4405
+ },
4406
+ "default": {
4407
+ "description": "Error",
4408
+ "content": {
4409
+ "application/json": {
4410
+ "schema": {
4411
+ "$ref": "#/components/schemas/ErrorResponse"
4412
+ }
4413
+ }
4414
+ }
4415
+ }
4416
+ }
4417
+ }
4418
+ },
4419
+ "/following": {
4420
+ "get": {
4421
+ "responses": {
4422
+ "200": {
4423
+ "description": "200 response",
4424
+ "content": {
4425
+ "application/json": {
4426
+ "schema": {
4427
+ "type": "object",
4428
+ "properties": {
4429
+ "data": {
4430
+ "$ref": "#/components/schemas/FollowsManifest"
4431
+ }
4432
+ },
4433
+ "required": [
4434
+ "data"
4435
+ ]
4436
+ }
4437
+ }
4438
+ }
4439
+ },
4440
+ "304": {
4441
+ "description": "304 response"
4442
+ },
4443
+ "default": {
4444
+ "description": "Error",
4445
+ "content": {
4446
+ "application/json": {
4447
+ "schema": {
4448
+ "$ref": "#/components/schemas/ErrorResponse"
4449
+ }
4450
+ }
4451
+ }
4452
+ }
4453
+ }
4454
+ }
4455
+ },
4456
+ "/following/{type}": {
4012
4457
  "parameters": [
4013
4458
  {
4014
4459
  "name": "type",
4015
4460
  "in": "path"
4016
4461
  },
4462
+ {
4463
+ "name": "page",
4464
+ "in": "query",
4465
+ "description": "The page of data to query from. This endpoint uses a page size of 25 by default."
4466
+ },
4467
+ {
4468
+ "name": "page_size",
4469
+ "in": "query",
4470
+ "description": "The custom page size to return. This endpoint uses a page size of 25 by default. The custom page size cannot be raised above the default."
4471
+ }
4472
+ ],
4473
+ "get": {
4474
+ "responses": {
4475
+ "200": {
4476
+ "description": "200 response",
4477
+ "content": {
4478
+ "application/json": {
4479
+ "schema": {
4480
+ "type": "object",
4481
+ "properties": {
4482
+ "data": {
4483
+ "type": "array",
4484
+ "items": {
4485
+ "$ref": "#/components/schema/Follow"
4486
+ }
4487
+ },
4488
+ "has_more": {
4489
+ "type": "boolean"
4490
+ },
4491
+ "page": {
4492
+ "type": "number",
4493
+ "minimum": 0
4494
+ },
4495
+ "page_count": {
4496
+ "type": [
4497
+ "boolean",
4498
+ "number"
4499
+ ],
4500
+ "anyOf": [
4501
+ {
4502
+ "type": "boolean",
4503
+ "enum": [
4504
+ true
4505
+ ]
4506
+ },
4507
+ {
4508
+ "type": "number",
4509
+ "minimum": 0
4510
+ }
4511
+ ]
4512
+ }
4513
+ },
4514
+ "required": [
4515
+ "data",
4516
+ "has_more",
4517
+ "page",
4518
+ "page_count"
4519
+ ]
4520
+ }
4521
+ }
4522
+ }
4523
+ },
4524
+ "304": {
4525
+ "description": "304 response"
4526
+ },
4527
+ "default": {
4528
+ "description": "Error",
4529
+ "content": {
4530
+ "application/json": {
4531
+ "schema": {
4532
+ "$ref": "#/components/schemas/ErrorResponse"
4533
+ }
4534
+ }
4535
+ }
4536
+ }
4537
+ }
4538
+ }
4539
+ },
4540
+ "/follows/author/{vanity}": {
4541
+ "parameters": [
4542
+ {
4543
+ "name": "vanity",
4544
+ "in": "path"
4545
+ }
4546
+ ],
4547
+ "get": {
4548
+ "responses": {
4549
+ "200": {
4550
+ "description": "200 response",
4551
+ "content": {
4552
+ "application/json": {
4553
+ "schema": {
4554
+ "type": "object",
4555
+ "properties": {
4556
+ "data": {
4557
+ "$ref": "#/components/schemas/Follow"
4558
+ }
4559
+ },
4560
+ "required": [
4561
+ "data"
4562
+ ]
4563
+ }
4564
+ }
4565
+ }
4566
+ },
4567
+ "304": {
4568
+ "description": "304 response"
4569
+ },
4570
+ "default": {
4571
+ "description": "Error",
4572
+ "content": {
4573
+ "application/json": {
4574
+ "schema": {
4575
+ "$ref": "#/components/schemas/ErrorResponse"
4576
+ }
4577
+ }
4578
+ }
4579
+ }
4580
+ }
4581
+ }
4582
+ },
4583
+ "/follows/work/{vanity}": {
4584
+ "parameters": [
4585
+ {
4586
+ "name": "vanity",
4587
+ "in": "path"
4588
+ }
4589
+ ],
4590
+ "get": {
4591
+ "responses": {
4592
+ "200": {
4593
+ "description": "200 response",
4594
+ "content": {
4595
+ "application/json": {
4596
+ "schema": {
4597
+ "type": "object",
4598
+ "properties": {
4599
+ "data": {
4600
+ "$ref": "#/components/schemas/Follow"
4601
+ }
4602
+ },
4603
+ "required": [
4604
+ "data"
4605
+ ]
4606
+ }
4607
+ }
4608
+ }
4609
+ },
4610
+ "304": {
4611
+ "description": "304 response"
4612
+ },
4613
+ "default": {
4614
+ "description": "Error",
4615
+ "content": {
4616
+ "application/json": {
4617
+ "schema": {
4618
+ "$ref": "#/components/schemas/ErrorResponse"
4619
+ }
4620
+ }
4621
+ }
4622
+ }
4623
+ }
4624
+ }
4625
+ },
4626
+ "/follows/work/{author}/{vanity}": {
4627
+ "parameters": [
4628
+ {
4629
+ "name": "author",
4630
+ "in": "path"
4631
+ },
4632
+ {
4633
+ "name": "vanity",
4634
+ "in": "path"
4635
+ }
4636
+ ],
4637
+ "get": {
4638
+ "responses": {
4639
+ "200": {
4640
+ "description": "200 response",
4641
+ "content": {
4642
+ "application/json": {
4643
+ "schema": {
4644
+ "type": "object",
4645
+ "properties": {
4646
+ "data": {
4647
+ "$ref": "#/components/schemas/Follow"
4648
+ }
4649
+ },
4650
+ "required": [
4651
+ "data"
4652
+ ]
4653
+ }
4654
+ }
4655
+ }
4656
+ },
4657
+ "304": {
4658
+ "description": "304 response"
4659
+ },
4660
+ "default": {
4661
+ "description": "Error",
4662
+ "content": {
4663
+ "application/json": {
4664
+ "schema": {
4665
+ "$ref": "#/components/schemas/ErrorResponse"
4666
+ }
4667
+ }
4668
+ }
4669
+ }
4670
+ }
4671
+ }
4672
+ },
4673
+ "/follows/tag/{vanity}": {
4674
+ "parameters": [
4017
4675
  {
4018
4676
  "name": "vanity",
4019
4677
  "in": "path"
4020
4678
  }
4021
4679
  ],
4022
- "post": {
4680
+ "get": {
4023
4681
  "responses": {
4024
4682
  "200": {
4025
4683
  "description": "200 response",
@@ -4039,6 +4697,9 @@
4039
4697
  }
4040
4698
  }
4041
4699
  },
4700
+ "304": {
4701
+ "description": "304 response"
4702
+ },
4042
4703
  "default": {
4043
4704
  "description": "Error",
4044
4705
  "content": {
@@ -4052,18 +4713,14 @@
4052
4713
  }
4053
4714
  }
4054
4715
  },
4055
- "/follow/work/{author}/{vanity}": {
4716
+ "/follows/category/{vanity}": {
4056
4717
  "parameters": [
4057
- {
4058
- "name": "author",
4059
- "in": "path"
4060
- },
4061
4718
  {
4062
4719
  "name": "vanity",
4063
4720
  "in": "path"
4064
4721
  }
4065
4722
  ],
4066
- "post": {
4723
+ "get": {
4067
4724
  "responses": {
4068
4725
  "200": {
4069
4726
  "description": "200 response",
@@ -4083,6 +4740,9 @@
4083
4740
  }
4084
4741
  }
4085
4742
  },
4743
+ "304": {
4744
+ "description": "304 response"
4745
+ },
4086
4746
  "default": {
4087
4747
  "description": "Error",
4088
4748
  "content": {
@@ -4096,12 +4756,8 @@
4096
4756
  }
4097
4757
  }
4098
4758
  },
4099
- "/unfollow/{type}/{vanity}": {
4759
+ "/ignore/author/{vanity}": {
4100
4760
  "parameters": [
4101
- {
4102
- "name": "type",
4103
- "in": "path"
4104
- },
4105
4761
  {
4106
4762
  "name": "vanity",
4107
4763
  "in": "path"
@@ -4140,12 +4796,8 @@
4140
4796
  }
4141
4797
  }
4142
4798
  },
4143
- "/unfollow/work/{author}/{vanity}": {
4799
+ "/ignore/work/{vanity}": {
4144
4800
  "parameters": [
4145
- {
4146
- "name": "author",
4147
- "in": "path"
4148
- },
4149
4801
  {
4150
4802
  "name": "vanity",
4151
4803
  "in": "path"
@@ -4184,8 +4836,18 @@
4184
4836
  }
4185
4837
  }
4186
4838
  },
4187
- "/following": {
4188
- "get": {
4839
+ "/ignore/work/{author}/{vanity}": {
4840
+ "parameters": [
4841
+ {
4842
+ "name": "author",
4843
+ "in": "path"
4844
+ },
4845
+ {
4846
+ "name": "vanity",
4847
+ "in": "path"
4848
+ }
4849
+ ],
4850
+ "post": {
4189
4851
  "responses": {
4190
4852
  "200": {
4191
4853
  "description": "200 response",
@@ -4195,7 +4857,7 @@
4195
4857
  "type": "object",
4196
4858
  "properties": {
4197
4859
  "data": {
4198
- "$ref": "#/components/schemas/FollowsManifest"
4860
+ "$ref": "#/components/schemas/Follow"
4199
4861
  }
4200
4862
  },
4201
4863
  "required": [
@@ -4205,9 +4867,6 @@
4205
4867
  }
4206
4868
  }
4207
4869
  },
4208
- "304": {
4209
- "description": "304 response"
4210
- },
4211
4870
  "default": {
4212
4871
  "description": "Error",
4213
4872
  "content": {
@@ -4221,24 +4880,14 @@
4221
4880
  }
4222
4881
  }
4223
4882
  },
4224
- "/following/{type}": {
4883
+ "/ignore/tag/{vanity}": {
4225
4884
  "parameters": [
4226
4885
  {
4227
- "name": "type",
4886
+ "name": "vanity",
4228
4887
  "in": "path"
4229
- },
4230
- {
4231
- "name": "page",
4232
- "in": "query",
4233
- "description": "The page of data to query from. This endpoint uses a page size of 25 by default."
4234
- },
4235
- {
4236
- "name": "page_size",
4237
- "in": "query",
4238
- "description": "The custom page size to return. This endpoint uses a page size of 25 by default. The custom page size cannot be raised above the default."
4239
4888
  }
4240
4889
  ],
4241
- "get": {
4890
+ "post": {
4242
4891
  "responses": {
4243
4892
  "200": {
4244
4893
  "description": "200 response",
@@ -4248,50 +4897,16 @@
4248
4897
  "type": "object",
4249
4898
  "properties": {
4250
4899
  "data": {
4251
- "type": "array",
4252
- "items": {
4253
- "$ref": "#/components/schema/Follow"
4254
- }
4255
- },
4256
- "has_more": {
4257
- "type": "boolean"
4258
- },
4259
- "page": {
4260
- "type": "number",
4261
- "minimum": 0
4262
- },
4263
- "page_count": {
4264
- "type": [
4265
- "boolean",
4266
- "number"
4267
- ],
4268
- "anyOf": [
4269
- {
4270
- "type": "boolean",
4271
- "enum": [
4272
- true
4273
- ]
4274
- },
4275
- {
4276
- "type": "number",
4277
- "minimum": 0
4278
- }
4279
- ]
4900
+ "$ref": "#/components/schemas/Follow"
4280
4901
  }
4281
4902
  },
4282
4903
  "required": [
4283
- "data",
4284
- "has_more",
4285
- "page",
4286
- "page_count"
4904
+ "data"
4287
4905
  ]
4288
4906
  }
4289
4907
  }
4290
4908
  }
4291
4909
  },
4292
- "304": {
4293
- "description": "304 response"
4294
- },
4295
4910
  "default": {
4296
4911
  "description": "Error",
4297
4912
  "content": {
@@ -4305,18 +4920,14 @@
4305
4920
  }
4306
4921
  }
4307
4922
  },
4308
- "/follows/{type}/{vanity}": {
4923
+ "/ignore/category/{vanity}": {
4309
4924
  "parameters": [
4310
- {
4311
- "name": "type",
4312
- "in": "path"
4313
- },
4314
4925
  {
4315
4926
  "name": "vanity",
4316
4927
  "in": "path"
4317
4928
  }
4318
4929
  ],
4319
- "get": {
4930
+ "post": {
4320
4931
  "responses": {
4321
4932
  "200": {
4322
4933
  "description": "200 response",
@@ -4336,9 +4947,6 @@
4336
4947
  }
4337
4948
  }
4338
4949
  },
4339
- "304": {
4340
- "description": "304 response"
4341
- },
4342
4950
  "default": {
4343
4951
  "description": "Error",
4344
4952
  "content": {
@@ -4352,18 +4960,14 @@
4352
4960
  }
4353
4961
  }
4354
4962
  },
4355
- "/follows/work/{author}/{vanity}": {
4963
+ "/unignore/author/{vanity}": {
4356
4964
  "parameters": [
4357
- {
4358
- "name": "author",
4359
- "in": "path"
4360
- },
4361
4965
  {
4362
4966
  "name": "vanity",
4363
4967
  "in": "path"
4364
4968
  }
4365
4969
  ],
4366
- "get": {
4970
+ "post": {
4367
4971
  "responses": {
4368
4972
  "200": {
4369
4973
  "description": "200 response",
@@ -4383,9 +4987,6 @@
4383
4987
  }
4384
4988
  }
4385
4989
  },
4386
- "304": {
4387
- "description": "304 response"
4388
- },
4389
4990
  "default": {
4390
4991
  "description": "Error",
4391
4992
  "content": {
@@ -4399,12 +5000,8 @@
4399
5000
  }
4400
5001
  }
4401
5002
  },
4402
- "/ignore/{type}/{vanity}": {
5003
+ "/unignore/work/{vanity}": {
4403
5004
  "parameters": [
4404
- {
4405
- "name": "type",
4406
- "in": "path"
4407
- },
4408
5005
  {
4409
5006
  "name": "vanity",
4410
5007
  "in": "path"
@@ -4443,7 +5040,7 @@
4443
5040
  }
4444
5041
  }
4445
5042
  },
4446
- "/ignore/work/{author}/{vanity}": {
5043
+ "/unignore/work/{author}/{vanity}": {
4447
5044
  "parameters": [
4448
5045
  {
4449
5046
  "name": "author",
@@ -4487,12 +5084,8 @@
4487
5084
  }
4488
5085
  }
4489
5086
  },
4490
- "/unignore/{type}/{vanity}": {
5087
+ "/unignore/tag/{vanity}": {
4491
5088
  "parameters": [
4492
- {
4493
- "name": "type",
4494
- "in": "path"
4495
- },
4496
5089
  {
4497
5090
  "name": "vanity",
4498
5091
  "in": "path"
@@ -4531,12 +5124,8 @@
4531
5124
  }
4532
5125
  }
4533
5126
  },
4534
- "/unignore/work/{author}/{vanity}": {
5127
+ "/unignore/category/{vanity}": {
4535
5128
  "parameters": [
4536
- {
4537
- "name": "author",
4538
- "in": "path"
4539
- },
4540
5129
  {
4541
5130
  "name": "vanity",
4542
5131
  "in": "path"
@@ -4659,12 +5248,51 @@
4659
5248
  }
4660
5249
  }
4661
5250
  },
4662
- "/ignores/{type}/{vanity}": {
5251
+ "/ignores/author/{vanity}": {
4663
5252
  "parameters": [
4664
5253
  {
4665
- "name": "type",
5254
+ "name": "vanity",
4666
5255
  "in": "path"
4667
- },
5256
+ }
5257
+ ],
5258
+ "get": {
5259
+ "responses": {
5260
+ "200": {
5261
+ "description": "200 response",
5262
+ "content": {
5263
+ "application/json": {
5264
+ "schema": {
5265
+ "type": "object",
5266
+ "properties": {
5267
+ "data": {
5268
+ "$ref": "#/components/schemas/Follow"
5269
+ }
5270
+ },
5271
+ "required": [
5272
+ "data"
5273
+ ]
5274
+ }
5275
+ }
5276
+ }
5277
+ },
5278
+ "304": {
5279
+ "description": "304 response"
5280
+ },
5281
+ "default": {
5282
+ "description": "Error",
5283
+ "content": {
5284
+ "application/json": {
5285
+ "schema": {
5286
+ "$ref": "#/components/schemas/ErrorResponse"
5287
+ }
5288
+ }
5289
+ }
5290
+ }
5291
+ }
5292
+ }
5293
+ },
5294
+ "/ignores/work/{vanity}": {
5295
+ "parameters": [
4668
5296
  {
4669
5297
  "name": "vanity",
4670
5298
  "in": "path"
@@ -4753,6 +5381,92 @@
4753
5381
  }
4754
5382
  }
4755
5383
  },
5384
+ "/ignores/tag/{vanity}": {
5385
+ "parameters": [
5386
+ {
5387
+ "name": "vanity",
5388
+ "in": "path"
5389
+ }
5390
+ ],
5391
+ "get": {
5392
+ "responses": {
5393
+ "200": {
5394
+ "description": "200 response",
5395
+ "content": {
5396
+ "application/json": {
5397
+ "schema": {
5398
+ "type": "object",
5399
+ "properties": {
5400
+ "data": {
5401
+ "$ref": "#/components/schemas/Follow"
5402
+ }
5403
+ },
5404
+ "required": [
5405
+ "data"
5406
+ ]
5407
+ }
5408
+ }
5409
+ }
5410
+ },
5411
+ "304": {
5412
+ "description": "304 response"
5413
+ },
5414
+ "default": {
5415
+ "description": "Error",
5416
+ "content": {
5417
+ "application/json": {
5418
+ "schema": {
5419
+ "$ref": "#/components/schemas/ErrorResponse"
5420
+ }
5421
+ }
5422
+ }
5423
+ }
5424
+ }
5425
+ }
5426
+ },
5427
+ "/ignores/category/{vanity}": {
5428
+ "parameters": [
5429
+ {
5430
+ "name": "vanity",
5431
+ "in": "path"
5432
+ }
5433
+ ],
5434
+ "get": {
5435
+ "responses": {
5436
+ "200": {
5437
+ "description": "200 response",
5438
+ "content": {
5439
+ "application/json": {
5440
+ "schema": {
5441
+ "type": "object",
5442
+ "properties": {
5443
+ "data": {
5444
+ "$ref": "#/components/schemas/Follow"
5445
+ }
5446
+ },
5447
+ "required": [
5448
+ "data"
5449
+ ]
5450
+ }
5451
+ }
5452
+ }
5453
+ },
5454
+ "304": {
5455
+ "description": "304 response"
5456
+ },
5457
+ "default": {
5458
+ "description": "Error",
5459
+ "content": {
5460
+ "application/json": {
5461
+ "schema": {
5462
+ "$ref": "#/components/schemas/ErrorResponse"
5463
+ }
5464
+ }
5465
+ }
5466
+ }
5467
+ }
5468
+ }
5469
+ },
4756
5470
  "/privilege/get/{vanity}": {
4757
5471
  "parameters": [
4758
5472
  {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.344",
3
+ "version": "1.0.345",
4
4
  "types": "index.d.ts"
5
5
  }